linux-yocto/fs/netfs
Lizhi Xu 60bbfc295a netfs: Prevent duplicate unlocking
[ Upstream commit 66d938e89e940e512f4c3deac938ecef399c13f9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-12 12:57:17 +02:00
..
buffered_read.c netfs: Fix enomem handling in buffered reads 2025-01-17 13:40:34 +01:00
buffered_write.c netfs: Prevent duplicate unlocking 2025-10-12 12:57:17 +02:00
direct_read.c netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int 2025-04-10 14:39:31 +02:00
direct_write.c netfs: Fix i_size updating 2025-07-10 16:04:52 +02:00
fscache_cache.c
fscache_cookie.c
fscache_internal.h
fscache_io.c
fscache_main.c
fscache_proc.c
fscache_stats.c
fscache_volume.c netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING 2024-12-05 14:01:14 +01:00
internal.h
iterator.c
Kconfig
locking.c netfs: Downgrade i_rwsem for a buffered write 2024-10-17 15:33:42 +02:00
main.c netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS 2025-05-02 07:59:26 +02:00
Makefile
misc.c
objects.c
read_collect.c fs/netfs/read_collect: add to next->prev_donated 2025-03-22 12:54:28 -07:00
read_pgpriv2.c fs/netfs/read_pgpriv2: skip folio queues without marks3 2025-03-13 13:02:18 +01:00
read_retry.c netfs: Fix read-retry for fs with no ->prepare_read() 2025-01-17 13:40:45 +01:00
stats.c
write_collect.c netfs: Fix unbuffered write error handling 2025-08-28 16:31:04 +02:00
write_issue.c netfs: Fix unbuffered write error handling 2025-08-28 16:31:04 +02:00