diff options
author | Kemeng Shi <shikemeng@huaweicloud.com> | 2023-08-27 01:47:08 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-10-05 22:32:15 -0400 |
commit | 95b635689b58e0ebe5197bf99c82c681eabe17ee (patch) | |
tree | eba07959d98f18f62d558701c4b3a0f11e515f5a /fs | |
parent | 1fc1bd2d18bbade157f7b14270f509ebbd89881b (diff) | |
download | linux-stable-95b635689b58e0ebe5197bf99c82c681eabe17ee.tar.gz linux-stable-95b635689b58e0ebe5197bf99c82c681eabe17ee.tar.bz2 linux-stable-95b635689b58e0ebe5197bf99c82c681eabe17ee.zip |
ext4: remove EXT4FS_DEBUG defination in resize.c
Remove EXT4FS_DEBUG defination in resize.c for following reasons:
1. EXT4FS_DEBUG will enable debug messages, it should only be defined
when debugging.
2. ext4.h included from ext4_jbd2.h after EXT4FS_DEBUG defination will
"#undef EXT4FS_DEBUG", then EXT4FS_DEBUG defination in resize.c can't
actually turn on ext4_debug messages.
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230826174712.4059355-10-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/resize.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index 3ad2b1a900ad..d4ab2cde0a03 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c @@ -10,8 +10,6 @@ */ -#define EXT4FS_DEBUG - #include <linux/errno.h> #include <linux/slab.h> #include <linux/jiffies.h> |