From: Tim Shimmin Date: Wed, 11 Jan 2006 04:37:38 +0000 (+1100) Subject: [XFS] take out the call to vn_mark_bad() used when acl inherit fails and X-Git-Tag: v2.6.16-rc1~185^2~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216d3b2acba469a9bee98a09bb957e012ba7bc25;p=linux-2.6 [XFS] take out the call to vn_mark_bad() used when acl inherit fails and 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 Signed-off-by: Nathan Scott --- diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 6bf770cfb0..fe5e9894fd 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c @@ -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