Btrfs: fix subvol_sem leak in btrfs_rename()
authorJohann Lombardi <johann@whamcloud.com>
Thu, 31 Mar 2011 13:23:47 +0000 (13:23 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 5 Apr 2011 05:19:42 +0000 (01:19 -0400)
btrfs_rename() does not release the subvol_sem if the transaction failed to start.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c

Simple merge