aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_iops.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_iops.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_iops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c
index 4da034f4ae14..98d5a7e13bd5 100644
--- a/fs/xfs/linux-2.6/xfs_iops.c
+++ b/fs/xfs/linux-2.6/xfs_iops.c
@@ -221,7 +221,7 @@ xfs_init_security(
221 error = xfs_attr_set(XFS_I(ip), name, value, 221 error = xfs_attr_set(XFS_I(ip), name, value,
222 length, ATTR_SECURE); 222 length, ATTR_SECURE);
223 if (!error) 223 if (!error)
224 VMODIFY(vp); 224 xfs_iflags_set(XFS_I(ip), XFS_IMODIFIED);
225 225
226 kfree(name); 226 kfree(name);
227 kfree(value); 227 kfree(value);
@@ -327,7 +327,7 @@ xfs_vn_mknod(
327 if (!error) { 327 if (!error) {
328 error = _ACL_INHERIT(vp, &vattr, default_acl); 328 error = _ACL_INHERIT(vp, &vattr, default_acl);
329 if (!error) 329 if (!error)
330 VMODIFY(vp); 330 xfs_iflags_set(XFS_I(&vp->v_inode), XFS_IMODIFIED);
331 else 331 else
332 xfs_cleanup_inode(dir, vp, dentry, mode); 332 xfs_cleanup_inode(dir, vp, dentry, mode);
333 } 333 }
@@ -409,7 +409,7 @@ xfs_vn_link(
409 if (unlikely(error)) { 409 if (unlikely(error)) {
410 VN_RELE(vp); 410 VN_RELE(vp);
411 } else { 411 } else {
412 VMODIFY(vn_from_inode(dir)); 412 xfs_iflags_set(XFS_I(dir), XFS_IMODIFIED);
413 xfs_validate_fields(ip, &vattr); 413 xfs_validate_fields(ip, &vattr);
414 d_instantiate(dentry, ip); 414 d_instantiate(dentry, ip);
415 } 415 }