netfs, fscache: Move fs/fscache/* into fs/netfs/
authorDavid Howells <dhowells@redhat.com>
Mon, 20 Nov 2023 15:29:09 +0000 (15:29 +0000)
committerDavid Howells <dhowells@redhat.com>
Sun, 24 Dec 2023 11:36:00 +0000 (11:36 +0000)
commit47757ea83a545536cdd418fec84b7a970710e48b
treec3e1ca6c7bde3f0174f22282c6bdce1bb9d2448d
parent2daa6404fd2f00985d5bfeb3c161f4630b46b6bf
netfs, fscache: Move fs/fscache/* into fs/netfs/

There's a problem with dependencies between netfslib and fscache as each
wants to access some functions of the other.  Deal with this by moving
fs/fscache/* into fs/netfs/ and renaming those files to begin with
"fscache-".

For the moment, the moved files are changed as little as possible and an
fscache module is still built.  A subsequent patch will integrate them.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: Christian Brauner <christian@brauner.io>
cc: linux-fsdevel@vger.kernel.org
cc: linux-cachefs@redhat.com
25 files changed:
MAINTAINERS
fs/Kconfig
fs/Makefile
fs/fscache/Kconfig [deleted file]
fs/fscache/Makefile [deleted file]
fs/fscache/cache.c [deleted file]
fs/fscache/cookie.c [deleted file]
fs/fscache/internal.h [deleted file]
fs/fscache/io.c [deleted file]
fs/fscache/main.c [deleted file]
fs/fscache/proc.c [deleted file]
fs/fscache/stats.c [deleted file]
fs/fscache/volume.c [deleted file]
fs/netfs/Kconfig
fs/netfs/Makefile
fs/netfs/fscache_cache.c [new file with mode: 0644]
fs/netfs/fscache_cookie.c [new file with mode: 0644]
fs/netfs/fscache_internal.h [new file with mode: 0644]
fs/netfs/fscache_io.c [new file with mode: 0644]
fs/netfs/fscache_main.c [new file with mode: 0644]
fs/netfs/fscache_proc.c [new file with mode: 0644]
fs/netfs/fscache_stats.c [new file with mode: 0644]
fs/netfs/fscache_volume.c [new file with mode: 0644]
fs/netfs/internal.h
fs/netfs/main.c