aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/namei.c
diff options
context:
space:
mode:
authorJakub Wilk2016-04-27 01:11:21 -0400
committerTheodore Ts'o2016-04-27 01:11:21 -0400
commit8d2ae1cbe8a984d7a755755fb53955de2f60a2f9 (patch)
treec4054ce7fbd132f2d6e8af11e697ea78df1b792f /fs/ext4/namei.c
parentc8585c6fcaf2011de54c3592e80a634a2b9e1a7f (diff)
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/namei.c')
-rw-r--r--fs/ext4/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c
index c07422d254b6..6e6b3230ee45 100644
--- a/fs/ext4/namei.c
+++ b/fs/ext4/namei.c
@@ -1618,7 +1618,7 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsi
if (nokey)
return ERR_PTR(-ENOKEY);
ext4_warning(inode->i_sb,
- "Inconsistent encryption contexts: %lu/%lu\n",
+ "Inconsistent encryption contexts: %lu/%lu",
(unsigned long) dir->i_ino,
(unsigned long) inode->i_ino);
return ERR_PTR(-EPERM);