diff options
author | David Sterba <dsterba@suse.cz> | 2014-05-15 10:48:20 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-09 20:20:53 -0400 |
commit | 351fd3532159441e810d458a5b681090ff8449fd (patch) | |
tree | 7c087b510bff35cfd9c9b8d21d6a2a56f3a68f32 /fs/btrfs/volumes.c | |
parent | 7d78874273463a784759916fc3e0b4e2eb141c70 (diff) |
btrfs: remove stale newlines from log messages
I've noticed an extra line after "use no compression", but search
revealed much more in messages of more critical levels and rare errors.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index be8d6714494e..7d725a9ce670 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -4133,7 +4133,7 @@ static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans, | |||
4133 | if (!devs_max) | 4133 | if (!devs_max) |
4134 | devs_max = BTRFS_MAX_DEVS_SYS_CHUNK; | 4134 | devs_max = BTRFS_MAX_DEVS_SYS_CHUNK; |
4135 | } else { | 4135 | } else { |
4136 | btrfs_err(info, "invalid chunk type 0x%llx requested\n", | 4136 | btrfs_err(info, "invalid chunk type 0x%llx requested", |
4137 | type); | 4137 | type); |
4138 | BUG_ON(1); | 4138 | BUG_ON(1); |
4139 | } | 4139 | } |
@@ -4381,7 +4381,7 @@ int btrfs_finish_chunk_alloc(struct btrfs_trans_handle *trans, | |||
4381 | 4381 | ||
4382 | if (em->start != chunk_offset || em->len != chunk_size) { | 4382 | if (em->start != chunk_offset || em->len != chunk_size) { |
4383 | btrfs_crit(extent_root->fs_info, "found a bad mapping, wanted" | 4383 | btrfs_crit(extent_root->fs_info, "found a bad mapping, wanted" |
4384 | " %Lu-%Lu, found %Lu-%Lu\n", chunk_offset, | 4384 | " %Lu-%Lu, found %Lu-%Lu", chunk_offset, |
4385 | chunk_size, em->start, em->len); | 4385 | chunk_size, em->start, em->len); |
4386 | free_extent_map(em); | 4386 | free_extent_map(em); |
4387 | return -EINVAL; | 4387 | return -EINVAL; |
@@ -4583,14 +4583,14 @@ int btrfs_num_copies(struct btrfs_fs_info *fs_info, u64 logical, u64 len) | |||
4583 | * and exit, so return 1 so the callers don't try to use other copies. | 4583 | * and exit, so return 1 so the callers don't try to use other copies. |
4584 | */ | 4584 | */ |
4585 | if (!em) { | 4585 | if (!em) { |
4586 | btrfs_crit(fs_info, "No mapping for %Lu-%Lu\n", logical, | 4586 | btrfs_crit(fs_info, "No mapping for %Lu-%Lu", logical, |
4587 | logical+len); | 4587 | logical+len); |
4588 | return 1; | 4588 | return 1; |
4589 | } | 4589 | } |
4590 | 4590 | ||
4591 | if (em->start > logical || em->start + em->len < logical) { | 4591 | if (em->start > logical || em->start + em->len < logical) { |
4592 | btrfs_crit(fs_info, "Invalid mapping for %Lu-%Lu, got " | 4592 | btrfs_crit(fs_info, "Invalid mapping for %Lu-%Lu, got " |
4593 | "%Lu-%Lu\n", logical, logical+len, em->start, | 4593 | "%Lu-%Lu", logical, logical+len, em->start, |
4594 | em->start + em->len); | 4594 | em->start + em->len); |
4595 | free_extent_map(em); | 4595 | free_extent_map(em); |
4596 | return 1; | 4596 | return 1; |
@@ -4771,7 +4771,7 @@ static int __btrfs_map_block(struct btrfs_fs_info *fs_info, int rw, | |||
4771 | 4771 | ||
4772 | if (em->start > logical || em->start + em->len < logical) { | 4772 | if (em->start > logical || em->start + em->len < logical) { |
4773 | btrfs_crit(fs_info, "found a bad mapping, wanted %Lu, " | 4773 | btrfs_crit(fs_info, "found a bad mapping, wanted %Lu, " |
4774 | "found %Lu-%Lu\n", logical, em->start, | 4774 | "found %Lu-%Lu", logical, em->start, |
4775 | em->start + em->len); | 4775 | em->start + em->len); |
4776 | free_extent_map(em); | 4776 | free_extent_map(em); |
4777 | return -EINVAL; | 4777 | return -EINVAL; |