From: Nathan Scott Date: Fri, 17 Mar 2006 06:26:34 +0000 (+1100) Subject: [XFS] Merge Yingpings fix for a vn_count assert failure during QA - X-Git-Tag: v2.6.17-rc1~1000^2~32 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ce9d37c257ceba5b4d089c544e4673546f647565;p=linux-2.6-omap-h63xx.git [XFS] Merge Yingpings fix for a vn_count assert failure during QA - another ENOSPC condition. SGI-PV: 950784 SGI-Modid: xfs-linux-melb:xfs-kern:25482a 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 64c3395074d..af487437bd7 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c @@ -491,6 +491,8 @@ xfs_vn_symlink( d_instantiate(dentry, ip); xfs_validate_fields(dir, &vattr); xfs_validate_fields(ip, &vattr); + } else { + xfs_cleanup_inode(dvp, cvp, dentry, 0); } } return -error;