]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit715362e7b1c2ea9d0a3c6c14050b83be89ccfb00
tree0740ca11affec2f153e84d7d096d1c11466879e6
parentc40b4fe6c67249475918973432d5d09b36b21577
[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