[XFS] stop updating inode->i_blocks
authorChristoph Hellwig <hch@infradead.org>
Tue, 5 Feb 2008 01:13:46 +0000 (12:13 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:23:15 +0000 (18:23 +1100)
commit222096ae7f7616caa9e4150948096160cc8a8141
tree0740ca11affec2f153e84d7d096d1c11466879e6
parentde08dbc1977419efa47eb71f10d96a98eb5bb111
[XFS] stop updating inode->i_blocks

The VFS doesn't use i_blocks, it's only used by generic_fillattr and the
generic quota code which XFS doesn't use. In XFS there is one use to check
whether we have an inline or out of line sumlink, but we can replace that
with a check of the XFS_IFINLINE inode flag.

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30391a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_vnode.c
fs/xfs/xfs_vnodeops.c