On Mon, Nov 05, 2012 at 08:42:09PM +0800, Liu Bo wrote: > When creating a snapshot, failing to commit a transaction can end up > with aborting the transaction, following by doing a cleanup for it, where > we'll free all snapshots pending to disk. > > So we check it and avoid double free on pending snapshots. > > Signed-off-by: Liu Bo <bo.li....@oracle.com> Reviewed-by: David Sterba <dste...@suse.cz>
I've reproduced this as well, so consider it tested. david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html