aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_vnode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-02-04 20:13:46 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 02:23:15 -0500
commit222096ae7f7616caa9e4150948096160cc8a8141 (patch)
tree0740ca11affec2f153e84d7d096d1c11466879e6 /fs/xfs/linux-2.6/xfs_vnode.c
parentde08dbc1977419efa47eb71f10d96a98eb5bb111 (diff)
[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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_vnode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.c b/fs/xfs/linux-2.6/xfs_vnode.c
index 8f0f74fc703a..9bf36dc48a6e 100644
--- a/fs/xfs/linux-2.6/xfs_vnode.c
+++ b/fs/xfs/linux-2.6/xfs_vnode.c
@@ -106,8 +106,6 @@ vn_revalidate(
106 inode->i_nlink = ip->i_d.di_nlink; 106 inode->i_nlink = ip->i_d.di_nlink;
107 inode->i_uid = ip->i_d.di_uid; 107 inode->i_uid = ip->i_d.di_uid;
108 inode->i_gid = ip->i_d.di_gid; 108 inode->i_gid = ip->i_d.di_gid;
109 inode->i_blocks =
110 XFS_FSB_TO_BB(mp, ip->i_d.di_nblocks + ip->i_delayed_blks);
111 inode->i_mtime.tv_sec = ip->i_d.di_mtime.t_sec; 109 inode->i_mtime.tv_sec = ip->i_d.di_mtime.t_sec;
112 inode->i_mtime.tv_nsec = ip->i_d.di_mtime.t_nsec; 110 inode->i_mtime.tv_nsec = ip->i_d.di_mtime.t_nsec;
113 inode->i_ctime.tv_sec = ip->i_d.di_ctime.t_sec; 111 inode->i_ctime.tv_sec = ip->i_d.di_ctime.t_sec;