From: Christoph Hellwig Date: Thu, 30 Oct 2008 07:04:13 +0000 (+1100) Subject: [XFS] stop using xfs_itobp in xfs_bulkstat X-Git-Tag: v2.6.29-rc1~552^2~81^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c679eef0520eb3c2c731fce505e61b8ef9469aac;p=pandora-kernel.git [XFS] stop using xfs_itobp in xfs_bulkstat xfs_bulkstat only wants the dinode, offset and buffer from a given inode number. Instead of using xfs_itobp on a fake inode which is complicated and currently leads to leaks of the security data just use xfs_inotobp which is designed to do exactly the kind of lookup xfs_bulkstat wants. The only thing that's missing in xfs_inotobp is a flags paramter that let's us pass down XFS_IMAP_BULKSTAT, but that can easily added. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32397a Signed-off-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy Signed-off-by: David Chinner --- Reading git-diff-tree failed