linux-stable/fs/netfs
David Howells e2bdb5272f netfs: Fix wrong #ifdef hiding wait
netfs_writepages_begin() has the wait on the fscache folio conditional on
CONFIG_NETFS_FSCACHE - which doesn't exist.

Fix it to be conditional on CONFIG_FSCACHE instead.

Fixes: 62c3b7481b ("netfs: Provide a writepages implementation")
Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Matthew Wilcox <willy@infradead.org>
cc: linux-afs@lists.infradead.org
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Link: https://lore.kernel.org/r/20240109083257.GK132648@kernel.org/
2024-01-09 13:33:01 +00:00
..
buffered_read.c netfs: Provide netfs_file_read_iter() 2023-12-28 09:45:25 +00:00
buffered_write.c netfs: Fix wrong #ifdef hiding wait 2024-01-09 13:33:01 +00:00
direct_read.c netfs: Implement unbuffered/DIO read support 2023-12-28 09:45:23 +00:00
direct_write.c netfs: Count DIO writes 2024-01-05 15:22:37 +00:00
fscache_cache.c netfs, fscache: Move fs/fscache/* into fs/netfs/ 2023-12-24 11:36:00 +00:00
fscache_cookie.c netfs, fscache: Move fs/fscache/* into fs/netfs/ 2023-12-24 11:36:00 +00:00
fscache_internal.h netfs, fscache: Combine fscache with netfs 2023-12-24 15:08:46 +00:00
fscache_io.c netfs, cachefiles: Pass upper bound length to allow expansion 2023-12-28 09:45:25 +00:00
fscache_main.c netfs, fscache: Move /proc/fs/fscache to /proc/fs/netfs and put in a symlink 2023-12-24 15:08:48 +00:00
fscache_proc.c netfs: Fix proc/fs/fscache symlink to point to "netfs" not "../netfs" 2024-01-04 13:15:32 +00:00
fscache_stats.c netfs: Fix interaction between write-streaming and cachefiles culling 2024-01-05 15:42:25 +00:00
fscache_volume.c netfs, fscache: Move fs/fscache/* into fs/netfs/ 2023-12-24 11:36:00 +00:00
internal.h netfs: Fix interaction between write-streaming and cachefiles culling 2024-01-05 15:42:25 +00:00
io.c netfs: Fix the loop that unmarks folios after writing to the cache 2024-01-05 23:13:48 +00:00
iterator.c netfs: Add func to calculate pagecount/size-limited span of an iterator 2023-12-28 09:45:18 +00:00
Kconfig netfs, fscache: Combine fscache with netfs 2023-12-24 15:08:46 +00:00
locking.c netfs: Implement unbuffered/DIO vs buffered I/O locking 2023-12-24 15:08:52 +00:00
main.c netfs: Export the netfs_sreq tracepoint 2023-12-28 09:45:27 +00:00
Makefile netfs: Implement unbuffered/DIO write support 2023-12-28 09:45:24 +00:00
misc.c netfs: Optimise away reads above the point at which there can be no data 2023-12-28 09:45:27 +00:00
objects.c netfs: Implement a write-through caching option 2023-12-28 09:45:27 +00:00
output.c netfs: Implement a write-through caching option 2023-12-28 09:45:27 +00:00
stats.c netfs: Fix interaction between write-streaming and cachefiles culling 2024-01-05 15:42:25 +00:00