Commit 60bbfc29 authored by Lizhi Xu's avatar Lizhi Xu Committed by Greg Kroah-Hartman
Browse files

netfs: Prevent duplicate unlocking



[ Upstream commit 66d938e8 ]

The filio lock has been released here, so there is no need to jump to
error_folio_unlock to release it again.

Reported-by: default avatar <syzbot+b73c7d94a151e2ee1e9b@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=b73c7d94a151e2ee1e9b


Signed-off-by: default avatarLizhi Xu <lizhi.xu@windriver.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarPaulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ec045333
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment