aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorJie Liu <[email protected]>2014-07-24 08:42:21 +0000
committerDave Chinner <[email protected]>2014-07-24 08:42:21 +0000
commitf3d1e587437b784635459dcfccaedd17149282cc (patch)
tree43e21998feafaf14452c98aea6aac443fa904596 /fs/nfs/filelayout/filelayoutdev.c
parentxfs: introduce xfs_bulkstat_ichunk_ra (diff)
downloadkernel-f3d1e587437b784635459dcfccaedd17149282cc.tar.gz
kernel-f3d1e587437b784635459dcfccaedd17149282cc.zip
xfs: introduce xfs_bulkstat_grab_ichunk
From: Jie Liu <[email protected]> Introduce xfs_bulkstat_grab_ichunk() to look up an inode chunk in where the given inode resides, then grab the record. Update the data for the pointed-to record if the inode was not the last in the chunk and there are some left allocated, return the grabbed inode count on success. Refactor xfs_bulkstat() with it. Signed-off-by: Jie Liu <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions