diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2019-05-09 07:25:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:47:35 -0700 |
commit | de69696bd6f89151cfe9eb37f7c6fa088d504d10 (patch) | |
tree | 1e2e87e76f54ad59316384f6343616fb4484bfc4 /lib/test_uuid.c | |
parent | 3d5e860adfb3901fde8300c91734d7480fc72d7a (diff) |
NFS: Fix a double unlock from nfs_match,get_client
[ Upstream commit c260121a97a3e4df6536edbc2f26e166eff370ce ]
Now that nfs_match_client drops the nfs_client_lock, we should be
careful
to always return it in the same condition: locked.
Fixes: 950a578c6128 ("NFS: make nfs_match_client killable")
Reported-by: syzbot+228a82b263b5da91883d@syzkaller.appspotmail.com
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/test_uuid.c')
0 files changed, 0 insertions, 0 deletions