Up to [Development] / xfs-linux
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.173 / (download) - annotate - [select for diffs], Thu Oct 23 15:02:31 2008 UTC (8 years, 11 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.172: +8 -13
lines
Diff to previous 1.172 (colored)
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. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of xfs-linux-melb:xfs-kern:32397a by kenmcd. stop using xfs_itobp in xfs_bulkstat