Btrfs: output warning instead of error when loading free space cache failed
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 24 Apr 2014 05:31:55 +0000 (13:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2014 03:09:45 +0000 (20:09 -0700)
commit87d7177149733a17cdcf6424b329c8f9be6d4b7c
tree7035a29626cb3ebf0f0f9bf437e5d2ec747b6b54
parentde0914339196e139a21bfb1d82db0465afb4ed6c
Btrfs: output warning instead of error when loading free space cache failed

commit 32d6b47fe6fc1714d5f1bba1b9f38e0ab0ad58a8 upstream.

If we fail to load a free space cache, we can rebuild it from the extent tree,
so it is not a serious error, we should not output a error message that
would make the users uncomfortable. This patch uses warning message instead
of it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/free-space-cache.c