]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: introduce xfs_bulkstat_ag_ichunk
authorJie Liu <jeff.liu@oracle.com>
Mon, 4 Aug 2014 01:22:31 +0000 (11:22 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 4 Aug 2014 01:22:31 +0000 (11:22 +1000)
commit1e773c4989d2dfe08332b4c18f7e1d7ad633015c
tree1bbc729141d2aa5be746e34a701668bc272285e7
parentf3d1e587437b784635459dcfccaedd17149282cc
xfs: introduce xfs_bulkstat_ag_ichunk

Introduce xfs_bulkstat_ag_ichunk() to process inodes in chunk with a
pointer to a formatter function that will iget the inode and fill in
the appropriate structure.

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>
fs/xfs/xfs_itable.c
fs/xfs/xfs_itable.h