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.
Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Mon Oct 13 17:31:33 EST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-sync
Inspected by: hch
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:32304a
fs/xfs/quota/xfs_qm_syscalls.c - 1.48 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm_syscalls.c.diff?r1=text&tr1=1.48&r2=text&tr2=1.47&f=h
fs/xfs/linux-2.6/xfs_vnode.c - 1.163 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.c.diff?r1=text&tr1=1.163&r2=text&tr2=1.162&f=h
fs/xfs/linux-2.6/xfs_vnode.h - 1.159 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_vnode.h.diff?r1=text&tr1=1.159&r2=text&tr2=1.158&f=h
fs/xfs/linux-2.6/xfs_sync.c - 1.9 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_sync.c.diff?r1=text&tr1=1.9&r2=text&tr2=1.8&f=h
- Use struct inodes instead of vnodes to kill vn_grab
|