]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04e586becb8c7d6b5413b625285741b89864e7e6
treef7e5f2ae748c15f74aabc157bc2e233a7a0e1383
parent5313a0e598ded9a91d3dcc2b62929abb86c4a338
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