btrfs: fix misleading warning when space cache failed to load
authorHolger Hoffstätte <holger.hoffstaette@googlemail.com>
Fri, 27 Nov 2015 16:32:04 +0000 (17:32 +0100)
committerFilipe Manana <fdmanana@suse.com>
Thu, 10 Dec 2015 11:38:08 +0000 (11:38 +0000)
commit94356889c404faf050895099fd0d23f8bef118c4
tree2b506f1a5d148b0c63527144e6d860b0b9a107cf
parent8a7d656f3dfb7889316ba57502f1eaa6106fd6f8
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>
fs/btrfs/free-space-cache.c