* [PATCH v2] netfs: fix the mismatch used for CONFIG_FSCACHE_DEBUG
@ 2024-08-17 8:46 yangerkun
2024-08-20 7:02 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: yangerkun @ 2024-08-17 8:46 UTC (permalink / raw)
To: dhowells, brauner, jack, jlayton, hsiangkao; +Cc: netfs, linux-fsdevel
From: yangerkun <yangerkun@huawei.com>
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>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
---
fs/netfs/internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
No logic change, send v2 since this patch does not accept for a long
time...
diff --git a/fs/netfs/internal.h b/fs/netfs/internal.h
index 7773f3d855a9..a683a8505696 100644
--- a/fs/netfs/internal.h
+++ b/fs/netfs/internal.h
@@ -365,7 +365,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] 2+ messages in thread
end of thread, other threads:[~2024-08-20 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-17 8:46 [PATCH v2] netfs: fix the mismatch used for CONFIG_FSCACHE_DEBUG yangerkun
2024-08-20 7:02 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox