diff options
author | Jie Liu <jeff.liu@oracle.com> | 2014-07-24 18:42:21 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-07-24 18:42:21 +1000 |
commit | f3d1e587437b784635459dcfccaedd17149282cc (patch) | |
tree | 43e21998feafaf14452c98aea6aac443fa904596 /fs/xfs/xfs_itable.h | |
parent | 4b8fdfecd84528e044a6ca32242de641b203995b (diff) | |
download | op-kernel-dev-f3d1e587437b784635459dcfccaedd17149282cc.zip op-kernel-dev-f3d1e587437b784635459dcfccaedd17149282cc.tar.gz |
xfs: introduce xfs_bulkstat_grab_ichunk
From: Jie Liu <jeff.liu@oracle.com>
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 <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_itable.h')
0 files changed, 0 insertions, 0 deletions