summaryrefslogtreecommitdiffstats
path: root/fs/ext4/file.c
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2016-04-27 01:11:21 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-04-27 01:11:21 -0400
commit8d2ae1cbe8a984d7a755755fb53955de2f60a2f9 (patch)
treec4054ce7fbd132f2d6e8af11e697ea78df1b792f /fs/ext4/file.c
parentc8585c6fcaf2011de54c3592e80a634a2b9e1a7f (diff)
downloadlinux-8d2ae1cbe8a984d7a755755fb53955de2f60a2f9.tar.bz2
ext4: remove trailing \n from ext4_warning/ext4_error calls
Messages passed to ext4_warning() or ext4_error() don't need trailing newlines, because these function add the newlines themselves. Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Diffstat (limited to 'fs/ext4/file.c')
-rw-r--r--fs/ext4/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index fa2208bae2e1..3e850b988923 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -378,7 +378,7 @@ static int ext4_file_open(struct inode * inode, struct file * filp)
if (ext4_encrypted_inode(d_inode(dir)) &&
!ext4_is_child_context_consistent_with_parent(d_inode(dir), inode)) {
ext4_warning(inode->i_sb,
- "Inconsistent encryption contexts: %lu/%lu\n",
+ "Inconsistent encryption contexts: %lu/%lu",
(unsigned long) d_inode(dir)->i_ino,
(unsigned long) inode->i_ino);
dput(dir);