]> git.ipfire.org Git - thirdparty/linux.git/commit
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
17 files changed:
MAINTAINERS
fs/Kconfig
fs/Makefile
fs/fscache/Kconfig [deleted file]
fs/fscache/Makefile [deleted file]
fs/netfs/Kconfig
fs/netfs/Makefile
fs/netfs/fscache_cache.c [moved from fs/fscache/cache.c with 100% similarity]
fs/netfs/fscache_cookie.c [moved from fs/fscache/cookie.c with 100% similarity]
fs/netfs/fscache_internal.h [moved from fs/fscache/internal.h with 100% similarity]
fs/netfs/fscache_io.c [moved from fs/fscache/io.c with 100% similarity]
fs/netfs/fscache_main.c [moved from fs/fscache/main.c with 100% similarity]
fs/netfs/fscache_proc.c [moved from fs/fscache/proc.c with 100% similarity]
fs/netfs/fscache_stats.c [moved from fs/fscache/stats.c with 100% similarity]
fs/netfs/fscache_volume.c [moved from fs/fscache/volume.c with 100% similarity]
fs/netfs/internal.h
fs/netfs/main.c