Eric Sandeen 83d5f01858 xfs: cancel failed transaction in xfs_fs_commit_blocks()
If xfs_trans_reserve fails we don't cancel the transaction,
and we'll leak the allocated transaction pointer.

Spotted by Coverity.

Signed-off-by: Eric Sandeen <ssandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-02-24 10:15:18 +11:00
..
2014-07-30 09:12:05 +10:00
2015-02-16 11:49:23 +11:00
2014-06-25 14:58:08 +10:00
2015-02-10 16:15:17 -08:00
2015-02-10 16:15:17 -08:00
2014-07-30 09:12:05 +10:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:52:42 +10:00