]> git.hungrycats.org Git - linux/commitdiff
btrfs: fix misleading warning when space cache failed to load zygo-4.1.14-zb64
authorHolger Hoffstätte <holger.hoffstaette@googlemail.com>
Fri, 27 Nov 2015 16:32:04 +0000 (17:32 +0100)
committerZygo Blaxell <zblaxell@thirteen.furryterror.org>
Fri, 11 Dec 2015 03:33:14 +0000 (22:33 -0500)
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>
(cherry picked from commit 94356889c404faf050895099fd0d23f8bef118c4)

fs/btrfs/free-space-cache.c

index e03fbb2793e6897dac468b9dc65eda9e272df48c..0d3c2f3b9cfb33bde127e9d30880e0662b6531e3 100644 (file)
@@ -893,7 +893,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);
        }