]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] simplify vn_revalidate
authorChristoph Hellwig <hch@infradead.org>
Wed, 19 Sep 2007 05:27:49 +0000 (15:27 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 05:44:04 +0000 (16:44 +1100)
commit21a62542b6d7f726d6c1d2cfbfa084f721ba4a26
treedb0a080fd3550b12000d96513c5d92836e95ae5b
parent15947f2d4f747897f31cfaa36e98a93f80ca3d3f
[XFS] simplify vn_revalidate

No need to allocate a bhv_vattr_t on stack and call xfs_getattr to update
a few fields in the Linux inode from the XFS inode, just do it directly.

And yes, this function is in dire need of a better name and prototype,
I'll do in a separate patch, though.

SGI-PV: 970705
SGI-Modid: xfs-linux-melb:xfs-kern:29713a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@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