Linux network filesystem support library
 help / color / mirror / Atom feed
* [PATCH] netfs: fix the mismatch used for CONFIG_FSCACHE_DEBUG
@ 2024-03-23  9:23 yangerkun
  2024-03-23 15:57 ` Jeff Layton
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: yangerkun @ 2024-03-23  9:23 UTC (permalink / raw)
  To: dhowells, jlayton, hsiangkao, netfs; +Cc: yangerkun

The name of debug config used in fs/netfs/internal.h has a mismatch
compared to the define in fs/netfs/Kconfig, which lead to that debug for
netfs won't work.

Signed-off-by: yangerkun <yangerkun@huawei.com>
---
 fs/netfs/internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/netfs/internal.h b/fs/netfs/internal.h
index ec7045d24400..53d61ead35fd 100644
--- a/fs/netfs/internal.h
+++ b/fs/netfs/internal.h
@@ -349,7 +349,7 @@ void fscache_create_volume(struct fscache_volume *volume, bool wait);
 #define _leave(FMT, ...) kleave(FMT, ##__VA_ARGS__)
 #define _debug(FMT, ...) kdebug(FMT, ##__VA_ARGS__)
 
-#elif defined(CONFIG_NETFS_DEBUG)
+#elif defined(CONFIG_FSCACHE_DEBUG)
 #define _enter(FMT, ...)			\
 do {						\
 	if (netfs_debug)			\
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-19 11:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-23  9:23 [PATCH] netfs: fix the mismatch used for CONFIG_FSCACHE_DEBUG yangerkun
2024-03-23 15:57 ` Jeff Layton
2024-03-24 16:13 ` Gao Xiang
2024-04-24 11:17 ` yangerkun
2024-08-19 11:28 ` David Howells
2024-08-19 11:36   ` yangerkun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox