[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>
This commit is contained in:
@@ -491,6 +491,8 @@ xfs_vn_symlink(
|
|||||||
d_instantiate(dentry, ip);
|
d_instantiate(dentry, ip);
|
||||||
xfs_validate_fields(dir, &vattr);
|
xfs_validate_fields(dir, &vattr);
|
||||||
xfs_validate_fields(ip, &vattr);
|
xfs_validate_fields(ip, &vattr);
|
||||||
|
} else {
|
||||||
|
xfs_cleanup_inode(dvp, cvp, dentry, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return -error;
|
return -error;
|
||||||
|
Reference in New Issue
Block a user