Btrfs: fix memory leak in btrfs_ioctl_start_sync()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 4 Apr 2011 01:52:13 +0000 (01:52 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 5 Apr 2011 05:19:42 +0000 (01:19 -0400)
commit8b2b2d3cbefb605501342adaf64d601b545ed154
tree244e724c20bbdc639f06a7a59a108b1eedd55f10
parentb44c59a80ded004e1a82712e5f9e17b131c03221
Btrfs: fix memory leak in btrfs_ioctl_start_sync()

Call btrfs_end_transaction() if btrfs_commit_transaction_async() fails.

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