projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: Fix missing xfs_iunlock() on error recovery path in xfs_readlink()
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_vnodeops.c
diff --git
a/fs/xfs/xfs_vnodeops.c
b/fs/xfs/xfs_vnodeops.c
index 0cf52da9d2468a547a614f55cf0191a396f82574..ebdb88840a47817b5704df2aaa0fefb8b11fd96e 100644
(file)
--- a/
fs/xfs/xfs_vnodeops.c
+++ b/
fs/xfs/xfs_vnodeops.c
@@
-131,7
+131,8
@@
xfs_readlink(
__func__, (unsigned long long) ip->i_ino,
(long long) pathlen);
ASSERT(0);
- return XFS_ERROR(EFSCORRUPTED);
+ error = XFS_ERROR(EFSCORRUPTED);
+ goto out;
}