Btrfs: fix missing mutex_unlock in btrfs_del_dir_entries_in_log()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 25 Apr 2011 23:43:51 +0000 (19:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 25 Apr 2011 23:43:51 +0000 (19:43 -0400)
commita62f44a5f47ce45e524b55f91542dc386c6de7ef
tree9385c5bb077e74a9e97ce048d8e615142366cc52
parentf65647c29b14f5a32ff6f3237b0ef3b375ed5a79
Btrfs: fix missing mutex_unlock in btrfs_del_dir_entries_in_log()

It is necessary to unlock mutex_lock before it return an error when
btrfs_alloc_path() fails.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/tree-log.c