From 7084849344c799b8d006c401b10ce79dc31761ce Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Fri, 17 Mar 2006 17:26:34 +1100 Subject: [PATCH] --- yaml --- r: 23131 b: refs/heads/master c: ce9d37c257ceba5b4d089c544e4673546f647565 h: refs/heads/master i: 23129: d9daf578ea99383b04a094f1e8e6ebb1a727171c 23127: 1353477472fdd78bc6956ea9ab31ad3620ddc721 v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_iops.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 1e13afdbb0e6..e6fd9cc5a9b3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 238f4c5468656e3e8b1d39d75c1e4fd73592c1ea +refs/heads/master: ce9d37c257ceba5b4d089c544e4673546f647565 diff --git a/trunk/fs/xfs/linux-2.6/xfs_iops.c b/trunk/fs/xfs/linux-2.6/xfs_iops.c index 64c3395074de..af487437bd7e 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_iops.c +++ b/trunk/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;