aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/linux-2.6/xfs_iops.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-17 17:26:34 +1100
committerNathan Scott <nathans@sgi.com>2006-03-17 17:26:34 +1100
commitce9d37c257ceba5b4d089c544e4673546f647565 (patch)
tree20202556fc940c1b216cd8461258c6c25db1c0f8 /fs/xfs/linux-2.6/xfs_iops.c
parent238f4c5468656e3e8b1d39d75c1e4fd73592c1ea (diff)
[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 <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c2
1 files changed, 2 insertions, 0 deletions
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;