Skip to content

Commit

Permalink
[XFS] take out the call to vn_mark_bad() used when acl inherit fails and
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tim Shimmin authored and Nathan Scott committed Jan 11, 2006
1 parent 794fe2d commit 216d3b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/xfs/linux-2.6/xfs_iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 216d3b2

Please sign in to comment.