From: Jie Liu Date: Thu, 24 Jul 2014 08:42:21 +0000 (+1000) Subject: xfs: introduce xfs_bulkstat_grab_ichunk X-Git-Tag: omap-for-v3.17/fixes-against-rc2~83^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3d1e587437b784635459dcfccaedd17149282cc;p=pandora-kernel.git xfs: introduce xfs_bulkstat_grab_ichunk From: Jie Liu 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed