aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c
index 6bf770cfb006..fe5e9894fdee 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(
320 teardown.d_inode = ip = LINVFS_GET_IP(vp); 320 teardown.d_inode = ip = LINVFS_GET_IP(vp);
321 teardown.d_name = dentry->d_name; 321 teardown.d_name = dentry->d_name;
322 322
323 vn_mark_bad(vp);
324
325 if (S_ISDIR(mode)) 323 if (S_ISDIR(mode))
326 VOP_RMDIR(dvp, &teardown, NULL, err2); 324 VOP_RMDIR(dvp, &teardown, NULL, err2);
327 else 325 else