]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:33 +0000 (17:20 -0700)
commitf23a5deea1acd03ab8a4ba93d05ce148a2dfc32f
tree8c6f3d9e18fec54166a695025edef002149f5cd8
parent28708a28ac57edecb81e6046642db56595f1f58c
Btrfs: output warning instead of error when loading free space cache failed

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>
fs/btrfs/free-space-cache.c