ext4: remove extraneous newlines from calls to ext4_error() and ext4_warning()
This removes annoying blank syslog entries emitted by ext4_error() or
ext4_warning(), since these functions add their own newline.
Signed-off-by: Nick Warne <nick@ukfsn.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9b9076d..dc27d4c 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1309,7 +1309,7 @@
EXT4_FEATURE_INCOMPAT_EXTENTS)) {
ext4_warning(sb, __func__,
"extents feature not enabled "
- "on this filesystem, use tune2fs\n");
+ "on this filesystem, use tune2fs");
return 0;
}
set_opt(sbi->s_mount_opt, EXTENTS);
@@ -1993,7 +1993,7 @@
else
ext4_warning(sb, __func__,
"extents feature not enabled on this filesystem, "
- "use tune2fs.\n");
+ "use tune2fs.");
/*
* enable delayed allocation by default