Date: Thu, Dec 15 2005 19:07:44 +1100
From: Tim Shimmin <tes@sgi.com>
References: 133990, SGI:PV930841
Subject: Default acl ENOSPC fix

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.

Acked-by: Andreas Gruenbacher <agruen@suse.de>

===========================================================================
Index: linux-2.6/xfs_iops.c
===========================================================================

--- a/fs/xfs/linux-2.6/xfs_iops.c	2005-12-15 19:07:45.000000000 +1100
+++ b/fs/xfs/linux-2.6/xfs_iops.c	2005-12-15 19:07:45.000000000 +1100
@@ -317,8 +317,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
