Btrfs: stop mounting the fs if the non-ENOENT errors happen when opening seed fs
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Sep 2014 13:35:45 +0000 (21:35 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:47 +0000 (13:38 -0700)
commit416d7b802a8bc044e98dc8bd96b59ce7a02287ac
treef7e5f2ae748c15f74aabc157bc2e233a7a0e1383
parent82372bc816d75722c24d1abadb11cd8c0a33883a
Btrfs: stop mounting the fs if the non-ENOENT errors happen when opening seed fs

When we open a seed filesystem, if the degraded mount option is set, we continue to
mount the fs if we don't find some devices in the seed filesystem. But we should stop
mounting if other errors happen. Fix it

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c