Btrfs: fix bh leak on __btrfs_open_devices path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 20 Apr 2011 10:06:40 +0000 (10:06 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 23 May 2011 17:24:42 +0000 (13:24 -0400)
commit4f6c9328c6c0d8558907f16579a9d47815abef80
treed65bf3702ec48b30894dbebfc36ed3869f6abb28
parentc7f895a2b2d1a002810d52e7b6653c9dc2fd0b0b
Btrfs: fix bh leak on __btrfs_open_devices path

'bh' is forgot to release if no error is detected

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c