]> 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)
commitfafbe012efcc2b03ce0e9f812f82ea730cf048ff
treef7e5f2ae748c15f74aabc157bc2e233a7a0e1383
parent45e1735e99db2a0e389bbd7dea2ba7d39edb24fa
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