diff options
author | Jan Kara | 2012-01-11 18:52:10 +0000 |
---|---|---|
committer | Ben Myers | 2012-01-25 11:01:31 -0600 |
commit | 9b025eb3a89e041bab6698e3858706be2385d692 (patch) | |
tree | acb29c488c3f538c2041e279b701b0965cd9667b /lib/iomap.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
xfs: Fix missing xfs_iunlock() on error recovery path in xfs_readlink()
Commit b52a360b forgot to call xfs_iunlock() when it detected corrupted
symplink and bailed out. Fix it by jumping to 'out' instead of doing return.
CC: stable@kernel.org
CC: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Alex Elder <elder@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions