aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-08-13 02:00:45 -0400
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-08-13 02:00:45 -0400
commite4f7529108d01bf66af8ebecd6be2b98d8db30ce (patch)
tree62207729c248cd072b077ea3190635b444909102 /fs/xfs/xfs_vfsops.c
parent705db4a24e0576f30d736de3c49623b4686ce473 (diff)
[XFS] Kill shouty XFS_ITOV() macro
Replace XFS_ITOV() with the new VFS_I() inline. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31724a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 5f461ce44412..38450f1fa2ac 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -128,7 +128,7 @@ xfs_unmount_flush(
128 xfs_inode_t *rip = mp->m_rootip; 128 xfs_inode_t *rip = mp->m_rootip;
129 xfs_inode_t *rbmip; 129 xfs_inode_t *rbmip;
130 xfs_inode_t *rsumip = NULL; 130 xfs_inode_t *rsumip = NULL;
131 bhv_vnode_t *rvp = XFS_ITOV(rip); 131 bhv_vnode_t *rvp = VFS_I(rip);
132 int error; 132 int error;
133 133
134 xfs_ilock(rip, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); 134 xfs_ilock(rip, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT);
@@ -146,7 +146,7 @@ xfs_unmount_flush(
146 if (error == EFSCORRUPTED) 146 if (error == EFSCORRUPTED)
147 goto fscorrupt_out; 147 goto fscorrupt_out;
148 148
149 ASSERT(vn_count(XFS_ITOV(rbmip)) == 1); 149 ASSERT(vn_count(VFS_I(rbmip)) == 1);
150 150
151 rsumip = mp->m_rsumip; 151 rsumip = mp->m_rsumip;
152 xfs_ilock(rsumip, XFS_ILOCK_EXCL); 152 xfs_ilock(rsumip, XFS_ILOCK_EXCL);
@@ -157,7 +157,7 @@ xfs_unmount_flush(
157 if (error == EFSCORRUPTED) 157 if (error == EFSCORRUPTED)
158 goto fscorrupt_out; 158 goto fscorrupt_out;
159 159
160 ASSERT(vn_count(XFS_ITOV(rsumip)) == 1); 160 ASSERT(vn_count(VFS_I(rsumip)) == 1);
161 } 161 }
162 162
163 /* 163 /*
@@ -479,7 +479,7 @@ xfs_sync_inodes(
479 IPOINTER_INSERT(ip, mp); 479 IPOINTER_INSERT(ip, mp);
480 xfs_ilock(ip, lock_flags); 480 xfs_ilock(ip, lock_flags);
481 481
482 ASSERT(vp == XFS_ITOV(ip)); 482 ASSERT(vp == VFS_I(ip));
483 ASSERT(ip->i_mount == mp); 483 ASSERT(ip->i_mount == mp);
484 484
485 vnode_refed = B_TRUE; 485 vnode_refed = B_TRUE;