summaryrefslogtreecommitdiff
path: root/fs/compat.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-07-09 19:16:58 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-07-19 12:59:01 -0700
commit46d51be7ea884258d054b37946dd285aa5e4847f (patch)
treecd963b6304e2b538271c6eb33272a7b50111f312 /fs/compat.c
parentcd766bb8a7e0a25c2ed1b63f6b4c02adbdcbec34 (diff)
xfs: don't update lastino for FSBULKSTAT_SINGLE
The kernel test robot found a regression of xfs/054 in the conversion of bulkstat to use the new iwalk infrastructure -- if a caller set *lastip = 128 and invoked FSBULKSTAT_SINGLE, the bstat info would be for inode 128, but *lastip would be increased by the kernel to 129. FSBULKSTAT_SINGLE never incremented lastip before, so it's incorrect to make such an update to the internal lastino value now. Fixes: 2810bd6840e463 ("xfs: convert bulkstat to new iwalk infrastructure") Reported-by: kernel test robot <rong.a.chen@intel.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Allison Collins <allison.henderson@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions