[PATCH 2/2] xfs: cancel failed transaction in xfs_fs_commit_blocks()

Christoph Hellwig hch at infradead.org
Mon Feb 23 14:48:36 CST 2015


On Mon, Feb 23, 2015 at 01:00:27PM -0600, Eric Sandeen wrote:
> If xfs_trans_reserve fails we don't cancel the transaction,
> and we'll leak the allocated transaction pointer.
> 
> Spotted by Coverity.

Thanks, looks good.

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list