[XFS] Remove vn_revalidate calls in xfs.
authorChristoph Hellwig <hch@infradead.org>
Mon, 21 Jul 2008 06:16:15 +0000 (16:16 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:59:39 +0000 (16:59 +1000)
commitf13fae2d2a9372a5155d20bc9da4c14f02193277
tree19bca1e8b3d5034ff84ad19e6a7640216ed3afaf
parent0f285c8a1c4cacfd9f2aec077b06e2b537ee57ab
[XFS] Remove vn_revalidate calls in xfs.

These days most of the attributes in struct inode are properly kept in
sync by XFS. This patch removes the need for vn_revalidate completely by:

- keeping inode.i_flags uptodate after any flags are updated in

xfs_ioctl_setattr

- keeping i_mode, i_uid and i_gid uptodate in xfs_setattr

SGI-PV: 984566

SGI-Modid: xfs-linux-melb:xfs-kern:31679a

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