Btrfs: fix error cases for ioctl transactions
authorSage Weil <sage@newdream.net>
Tue, 29 Sep 2009 22:38:44 +0000 (18:38 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 29 Sep 2009 22:38:44 +0000 (18:38 -0400)
Fix leak of vfsmount write reference and open_ioctl_trans reference on
ENOMEM.  Clean up the error paths while we're at it.

Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found