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:12:01 +0000 (20:12 -0700)
commit0ebcffd71421584531a44643de7f363dcc139635
tree03c14c1964abcc76207d3a3ece4b76fda1bbd55f
parentb36fe043d15b301bacd1530e2687398cc24720a5
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