diff options
author | Holger Hoffstätte <holger.hoffstaette@googlemail.com> | 2015-11-27 17:32:04 +0100 |
---|---|---|
committer | Filipe Manana <fdmanana@suse.com> | 2015-12-10 11:38:08 +0000 |
commit | 94356889c404faf050895099fd0d23f8bef118c4 (patch) | |
tree | 2b506f1a5d148b0c63527144e6d860b0b9a107cf | |
parent | 8a7d656f3dfb7889316ba57502f1eaa6106fd6f8 (diff) | |
download | op-kernel-dev-94356889c404faf050895099fd0d23f8bef118c4.zip op-kernel-dev-94356889c404faf050895099fd0d23f8bef118c4.tar.gz |
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>
-rw-r--r-- | fs/btrfs/free-space-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index 0948d34..7a91770 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -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); } |