]> git.karo-electronics.de Git - linux-beck.git/commit
[XFS] Use struct inodes instead of vnodes to kill vn_grab
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:15:03 +0000 (17:15 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:15:03 +0000 (17:15 +1100)
commitbc60a99323b3ec628273b5fa998285c87d464ca6
tree5084bb53b48d1b9ba3ceed8a3995296cc21840c5
parent2af75df7be7ca86965bf73766f827575d1c26fbd
[XFS] Use struct inodes instead of vnodes to kill vn_grab

With the sync code relocated to the linux-2.6 directory we can use struct
inodes directly. If we do the same thing for the quota release code, we
can remove vn_grab altogether. While here, convert the VN_BAD() checks to
is_bad_inode() so we can remove vnodes entirely from this code.

SGI-PV: 988140

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

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/linux-2.6/xfs_vnode.c
fs/xfs/linux-2.6/xfs_vnode.h
fs/xfs/quota/xfs_qm_syscalls.c