summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2011-11-09 11:26:37 (GMT)
committerIlya Dryomov <idryomov@gmail.com>2011-11-09 20:53:38 (GMT)
commit586e46e2813c589d26258a599580421fb6fb576b (patch)
treedfbdacfd14bec153909e13f8ab23480e292e41f6 /fs/btrfs/inode.c
parent4d34b2789538befa45a68a191dc12e0886a69f7d (diff)
downloadlinux-fsl-qoriq-586e46e2813c589d26258a599580421fb6fb576b.tar.xz
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 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions