Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Btrfs: close all bdevs on mount failure
Fix a bug introduced by 20b4507. We have to return EINVAL on mount failure, but doing that too early in the sequence leaves all of the devices opened exclusively. This also fixes an issue where under some scenarios only a second mount -o degraded <devices> command would succeed. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
- Loading branch information