diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2013-10-11 21:59:05 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-10-17 14:30:29 -0400 |
commit | 08e96e1a3c5fd823f846df813b0b8be8e734c6c2 (patch) | |
tree | e775cee59304c8fa614c6a1a966b80c8fe9f3125 /fs/xfs/xfs_super.c | |
parent | 2c6e24ce1aa6b3b147c75d488c2797ee258eb22b (diff) |
xfs: remove newlines from strings passed to __xfs_printk
__xfs_printk adds its own "\n". Having it in the original string
leads to unintentional blank lines from these messages.
Most format strings have no newline, but a few do, leading to
i.e.:
[ 7347.119911] XFS (sdb2): Access to block zero in inode 132 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 1a05
[ 7347.119911]
[ 7347.119919] XFS (sdb2): Access to block zero in inode 132 start_block: 0 start_off: 0 blkcnt: 0 extent-state: 0 lastx: 1a05
[ 7347.119919]
Fix them all.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 938e50fe6c61..c2e3e9535b26 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -1241,7 +1241,7 @@ xfs_fs_remount( | |||
1241 | */ | 1241 | */ |
1242 | #if 0 | 1242 | #if 0 |
1243 | xfs_info(mp, | 1243 | xfs_info(mp, |
1244 | "mount option \"%s\" not supported for remount\n", p); | 1244 | "mount option \"%s\" not supported for remount", p); |
1245 | return -EINVAL; | 1245 | return -EINVAL; |
1246 | #else | 1246 | #else |
1247 | break; | 1247 | break; |