From: Jan Kara Date: Wed, 11 Jan 2012 18:52:10 +0000 (+0000) Subject: xfs: Fix missing xfs_iunlock() on error recovery path in xfs_readlink() X-Git-Tag: v3.3-rc2~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b025eb3a89e041bab6698e3858706be2385d692;p=pandora-kernel.git 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 Signed-off-by: Jan Kara Reviewed-by: Alex Elder Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed