From 4884b476d769377c02f74fa83593e6afb562ad40 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 20 Mar 2013 13:31:27 +0000 Subject: [PATCH] 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 Signed-off-by: Josef Bacik --- fs/btrfs/inode.c | 4 ++-- 1 file 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)