diff options
author | Jeff Mahoney <jeffm@suse.com> | 2016-09-20 10:05:00 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-26 12:08:44 -0400 |
commit | 5d163e0e68ce743e1e919ddd3264c96ac02e9026 (patch) | |
tree | a5659f205f66740cd7f949a7bff11f283d8b8374 /fs/btrfs/dir-item.c | |
parent | cea67ab92d3d4da9f2b4141d87cb8664757daca0 (diff) |
btrfs: unsplit printed strings
CodingStyle chapter 2:
"[...] never break user-visible strings such as printk messages,
because that breaks the ability to grep for them."
This patch unsplits user-visible strings.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 1752625fb4dd..0dc1a033275e 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c | |||
@@ -472,9 +472,10 @@ int verify_dir_item(struct btrfs_root *root, | |||
472 | /* BTRFS_MAX_XATTR_SIZE is the same for all dir items */ | 472 | /* BTRFS_MAX_XATTR_SIZE is the same for all dir items */ |
473 | if ((btrfs_dir_data_len(leaf, dir_item) + | 473 | if ((btrfs_dir_data_len(leaf, dir_item) + |
474 | btrfs_dir_name_len(leaf, dir_item)) > BTRFS_MAX_XATTR_SIZE(root)) { | 474 | btrfs_dir_name_len(leaf, dir_item)) > BTRFS_MAX_XATTR_SIZE(root)) { |
475 | btrfs_crit(root->fs_info, "invalid dir item name + data len: %u + %u", | 475 | btrfs_crit(root->fs_info, |
476 | (unsigned)btrfs_dir_name_len(leaf, dir_item), | 476 | "invalid dir item name + data len: %u + %u", |
477 | (unsigned)btrfs_dir_data_len(leaf, dir_item)); | 477 | (unsigned)btrfs_dir_name_len(leaf, dir_item), |
478 | (unsigned)btrfs_dir_data_len(leaf, dir_item)); | ||
478 | return 1; | 479 | return 1; |
479 | } | 480 | } |
480 | 481 | ||