Btrfs: double unlock bug in error handling
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Apr 2012 06:59:03 +0000 (09:59 +0300)
committerDavid Sterba <dsterba@suse.cz>
Wed, 18 Apr 2012 17:22:31 +0000 (19:22 +0200)
commit253beebd5a255e07d6a8b65515491f33664e82a2
tree9bc6b5f567b7683df4b2a8d46ecdc6d8dd139d1e
parent5cf1ab56133ad7b712673c071b439d4a555a2d1e
Btrfs: double unlock bug in error handling

The caller expects this function to return with the lock held and
releases it immediately on error.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/extent-tree.c