diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2011-11-09 12:26:37 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2011-11-09 21:53:38 +0100 |
commit | 586e46e2813c589d26258a599580421fb6fb576b (patch) | |
tree | dfbdacfd14bec153909e13f8ab23480e292e41f6 /fs/btrfs/super.c | |
parent | Btrfs: avoid null dereference and leaks when bailing from open_ctree() (diff) | |
download | linux-586e46e2813c589d26258a599580421fb6fb576b.tar.xz linux-586e46e2813c589d26258a599580421fb6fb576b.zip |
Btrfs: close devices on all error paths in open_ctree()
Fix a bug introduced by 7e662854 where we would leave devices busy on
certain error paths in open_ctree(). fs_info is guaranteed to be
non-NULL now so it's safe to dereference it on all error paths.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions