@@ -125,7 +125,7 @@ obj-$(CONFIG_AFS_FS) += afs/
obj-$(CONFIG_NILFS2_FS) += nilfs2/
obj-$(CONFIG_BEFS_FS) += befs/
obj-$(CONFIG_HOSTFS) += hostfs/
-obj-$(CONFIG_CACHEFILES) += cachefiles_old/
+obj-$(CONFIG_CACHEFILES_OLD) += cachefiles_old/
obj-$(CONFIG_DEBUG_FS) += debugfs/
obj-$(CONFIG_TRACING) += tracefs/
obj-$(CONFIG_OCFS2_FS) += ocfs2/
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
-config CACHEFILES
- tristate "Filesystem caching on files"
+config CACHEFILES_OLD
+ tristate "Filesystem caching on files (old driver)"
depends on FSCACHE_OLD && BLOCK
help
This permits use of a mounted filesystem as a cache for other
@@ -11,9 +11,9 @@ config CACHEFILES
See Documentation/filesystems/caching/cachefiles.rst for more
information.
-config CACHEFILES_DEBUG
+config CACHEFILES_OLD_DEBUG
bool "Debug CacheFiles"
- depends on CACHEFILES
+ depends on CACHEFILES_OLD
help
This permits debugging to be dynamically enabled in the filesystem
caching on files module. If this is set, the debugging output may be
@@ -14,4 +14,4 @@ cachefiles-y := \
security.o \
xattr.o
-obj-$(CONFIG_CACHEFILES) := cachefiles.o
+obj-$(CONFIG_CACHEFILES_OLD) := cachefiles.o
@@ -235,7 +235,7 @@ do { \
#define _leave(FMT, ...) kleave(FMT, ##__VA_ARGS__)
#define _debug(FMT, ...) kdebug(FMT, ##__VA_ARGS__)
-#elif defined(CONFIG_CACHEFILES_DEBUG)
+#elif defined(CONFIG_CACHEFILES_OLD_DEBUG)
#define _enter(FMT, ...) \
do { \
if (cachefiles_debug & CACHEFILES_DEBUG_KENTER) \
Rename the CONFIG_CACHEFILES* config symbols to CONFIG_CACHEFILES_OLD*. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-cachefs@redhat.com --- fs/Makefile | 2 +- fs/cachefiles_old/Kconfig | 8 ++++---- fs/cachefiles_old/Makefile | 2 +- fs/cachefiles_old/internal.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-)