btrfs: fix misleading warning when space cache failed to load

When an inconsistent space cache is detected during loading we log a
warning that users frequently mistake as instruction to invalidate the
cache manually, even though this is not required. Fix the message to
indicate that the cache will be rebuilt automatically.

Signed-off-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com>
Acked-by: Filipe Manana <fdmanana@suse.com>
This commit is contained in:
Holger Hoffstätte 2015-11-27 17:32:04 +01:00 committed by Filipe Manana
parent 8a7d656f3d
commit 94356889c4
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ out:
spin_unlock(&block_group->lock);
ret = 0;
btrfs_warn(fs_info, "failed to load free space cache for block group %llu, rebuild it now",
btrfs_warn(fs_info, "failed to load free space cache for block group %llu, rebuilding it now",
block_group->key.objectid);
}