diff options
author | Ryusuke Konishi | 2016-05-23 16:23:31 -0700 |
---|---|---|
committer | Linus Torvalds | 2016-05-23 17:04:14 -0700 |
commit | 06f4abf6ca9364cdbbfac5b6e0fb1a5bf3468195 (patch) | |
tree | 75a0128dbea8bee471427e25b7403c66da63816d /fs/nilfs2/namei.c | |
parent | facb9ec5e6e376c25a00bb7a64332287c7a1403c (diff) |
nilfs2: do not emit extra newline on nilfs_warning() and nilfs_error()
This updates call sites of nilfs_warning() and nilfs_error() so that they
don't add a duplicate newline. These output functions are already
designed to add a trailing newline to the message.
Link: http://lkml.kernel.org/r/1462886671-3521-2-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/namei.c')
-rw-r--r-- | fs/nilfs2/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/namei.c b/fs/nilfs2/namei.c index 47bd989d88ed..8f8070cffa58 100644 --- a/fs/nilfs2/namei.c +++ b/fs/nilfs2/namei.c @@ -284,7 +284,7 @@ static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) if (!inode->i_nlink) { nilfs_warning(inode->i_sb, __func__, - "deleting nonexistent file (%lu), %d\n", + "deleting nonexistent file (%lu), %d", inode->i_ino, inode->i_nlink); set_nlink(inode, 1); } |