summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-03-20 13:31:27 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:24 -0400
commit4884b476d769377c02f74fa83593e6afb562ad40 (patch)
tree2e65db4f3f5187f07d9cef3f9484e4161ad936bc
parent5e2a4b25da232a2f4ce264a4b2ae113d0b2a799c (diff)
btrfs: make orphan cleanup less verbose
The messages btrfs: unlinked 123 orphans btrfs: truncated 456 orphans are not useful to regular users and raise questions whether there are problems with the filesystem. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
-rw-r--r--fs/btrfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 84f056e5d3db..3f3129173b26 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -3239,9 +3239,9 @@ int btrfs_orphan_cleanup(struct btrfs_root *root)
}
if (nr_unlink)
- btrfs_info(root->fs_info, "unlinked %d orphans", nr_unlink);
+ btrfs_debug(root->fs_info, "unlinked %d orphans", nr_unlink);
if (nr_truncate)
- btrfs_info(root->fs_info, "truncated %d orphans", nr_truncate);
+ btrfs_debug(root->fs_info, "truncated %d orphans", nr_truncate);
out:
if (ret)