]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fbe591556357a654bf2ee24abad279a065070b0
tree36588193bf5cc91d80d9d8376d5bad78f2babd0c
parentfbcd92c2aef578374ebb6ceb4823368dc1ceef5f
Btrfs: fix subvol_sem leak in btrfs_rename()

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