]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfs: Prevent duplicate unlocking
authorLizhi Xu <lizhi.xu@windriver.com>
Fri, 5 Sep 2025 01:59:25 +0000 (09:59 +0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 15 Sep 2025 11:57:15 +0000 (13:57 +0200)
commit66d938e89e940e512f4c3deac938ecef399c13f9
treef78b66edbce5673a120c15eb34e6c4cc8a417d31
parentf83ec76bf285bea5727f478a68b894f5543ca76e
netfs: Prevent duplicate unlocking

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

Reported-by: syzbot+b73c7d94a151e2ee1e9b@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=b73c7d94a151e2ee1e9b
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Acked-by: David Howells <dhowells@redhat.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/netfs/buffered_write.c