diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2011-10-20 00:06:20 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-10-20 18:20:57 +0200 |
commit | 20bcd64934e4eb8f3f90a0dca54fb0ac2edd7795 (patch) | |
tree | b3f9d79be8f78ddfec4ab4e2c2aefd27916fd26a /kernel/rtmutex.h | |
parent | 5f524444c351e145a5f7e28253594688a421bfe8 (diff) | |
download | blackbird-op-linux-20bcd64934e4eb8f3f90a0dca54fb0ac2edd7795.tar.gz blackbird-op-linux-20bcd64934e4eb8f3f90a0dca54fb0ac2edd7795.zip |
Btrfs: close all bdevs on mount failure
Fix a bug introduced by 20b45077. 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>
Diffstat (limited to 'kernel/rtmutex.h')
0 files changed, 0 insertions, 0 deletions