aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-08-28 21:44:37 -0400
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-15 21:37:29 -0400
commitb3aea4edc2903fdee34920630b8b2433f6452f02 (patch)
tree9d9e93c4dac6dc5a30522e0c2ae051e3aad46b1b /fs/xfs/linux-2.6/xfs_super.c
parent2f6f7b3d9b5600e1f6e7622c62ab30f36bd0f57f (diff)
[XFS] kill the v_flag member in struct bhv_vnode
All flags previously handled at the vnode level are not in the xfs_inode where we already have a flags mechanisms and free bits for flags previously in the vnode. SGI-PV: 969608 SGI-Modid: xfs-linux-melb:xfs-kern:29495a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 650c24ab27e2..47bca4e4696b 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -197,7 +197,7 @@ xfs_revalidate_inode(
197 inode->i_flags |= S_NOATIME; 197 inode->i_flags |= S_NOATIME;
198 else 198 else
199 inode->i_flags &= ~S_NOATIME; 199 inode->i_flags &= ~S_NOATIME;
200 vp->v_flag &= ~VMODIFIED; 200 xfs_iflags_clear(ip, XFS_IMODIFIED);
201} 201}
202 202
203void 203void
@@ -441,13 +441,12 @@ xfs_fs_clear_inode(
441 if (XFS_I(inode)) 441 if (XFS_I(inode))
442 xfs_inactive(XFS_I(inode)); 442 xfs_inactive(XFS_I(inode));
443 443
444 VN_LOCK(vp);
445 vp->v_flag &= ~VMODIFIED;
446 VN_UNLOCK(vp, 0);
447 444
448 if (XFS_I(inode)) 445 if (XFS_I(inode)) {
446 xfs_iflags_clear(XFS_I(inode), XFS_IMODIFIED);
449 if (xfs_reclaim(XFS_I(inode))) 447 if (xfs_reclaim(XFS_I(inode)))
450 panic("%s: cannot reclaim 0x%p\n", __FUNCTION__, vp); 448 panic("%s: cannot reclaim 0x%p\n", __FUNCTION__, vp);
449 }
451 450
452 ASSERT(XFS_I(inode) == NULL); 451 ASSERT(XFS_I(inode) == NULL);
453 452