diff options
author | David Sterba <dsterba@suse.com> | 2017-07-13 15:32:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-16 16:12:02 +0200 |
commit | 913e153572218c911125414d4ca1f8531f20c120 (patch) | |
tree | c1ac3de99732cac74c618ef29e49e30697179b46 /fs/btrfs/extent-tree.c | |
parent | b6e6bca51e531989de11af7967bd32bd973d96b9 (diff) | |
download | lwn-913e153572218c911125414d4ca1f8531f20c120.tar.gz lwn-913e153572218c911125414d4ca1f8531f20c120.zip |
btrfs: drop newlines from strings when using btrfs_* helpers
The helpers append "\n" so we can keep the actual strings shorter. The
extra newline will print an empty line. Some messages have been
slightly modified to be more consistent with the rest (lowercase first
letter).
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 4fe93c436302..fd2fee398c83 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -6832,7 +6832,7 @@ int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans, if (ret) { const char *errstr = btrfs_decode_error(ret); btrfs_warn(fs_info, - "Discard failed while removing blockgroup: errno=%d %s\n", + "discard failed while removing blockgroup: errno=%d %s", ret, errstr); } } |