[XFS] take out the call to vn_mark_bad() used when acl inherit fails and
authorTim Shimmin <tes@sgi.com>
Wed, 11 Jan 2006 04:37:38 +0000 (15:37 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 11 Jan 2006 04:37:38 +0000 (15:37 +1100)
it needs to back out the inode creation. Tested by xfs_tests/077.

SGI-PV: 930841
SGI-Modid: xfs-linux-melb:xfs-kern:24842a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c

index 6bf770cfb006cb55926503839c60d5b21caba479..fe5e9894fdeed50980aaa1e74594732e5e55279b 100644 (file)
@@ -320,8 +320,6 @@ linvfs_mknod(
                                teardown.d_inode = ip = LINVFS_GET_IP(vp);
                                teardown.d_name = dentry->d_name;
 
-                               vn_mark_bad(vp);
-                               
                                if (S_ISDIR(mode))
                                        VOP_RMDIR(dvp, &teardown, NULL, err2);
                                else