diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-11 19:07:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-18 20:27:57 +0300 |
commit | a25dba6c9b6277b4c86c79382a00e8e633fa312a (patch) | |
tree | 9b3334d6aecf899e8a2f6538d876ebee2ceb02ef /arch/powerpc | |
parent | 048d54100ce49e9684e20dfc9880337ebab9913f (diff) | |
download | linux-a25dba6c9b6277b4c86c79382a00e8e633fa312a.tar.xz |
xfs: fix a missing unlock on error in xfs_fs_map_blocks
[ Upstream commit 2bd3fa793aaa7e98b74e3653fdcc72fa753913b5 ]
We also need to drop the iolock when invalidate_inode_pages2 fails, not
only on all other error or successful cases.
Fixes: 527851124d10 ("xfs: implement pNFS export operations")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions