From: Naohiro Aota <naota@xxxxxxxxx>
Documentation/filesystems/btrfs.txt states the following:
===
...
Nodatacow implies nodatasum, and disables all compression.
...
===
However the current message only mentions nodatacow. It's better to
also mention nodatasum.
Signed-off-by: Naohiro Aota <naota@xxxxxxxxx>
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx>
---
fs/btrfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index d131098..7ad4293 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -464,9 +464,9 @@ int btrfs_parse_options(struct btrfs_root *root, char *options)
if (!btrfs_test_opt(root, NODATACOW)) {
if (btrfs_test_opt(root, COMPRESS)) {
btrfs_info(root->fs_info,
- "setting nodatacow, compression disabled");
+ "setting nodatacow and nodatasum, compression disabled");
} else {
- btrfs_info(root->fs_info, "setting nodatacow");
+ btrfs_info(root->fs_info, "setting nodatacow and nodatasum");
}
}
btrfs_clear_opt(info->mount_opt, COMPRESS);
-- 1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html