From: Ilya Dryomov Date: Wed, 9 Nov 2011 11:26:37 +0000 (+0200) Subject: Btrfs: close devices on all error paths in open_ctree() X-Git-Tag: v3.2-rc2~22^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586e46e2813c589d26258a599580421fb6fb576b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed