[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH v2] scsi: address leak in scsi_setup_discard_cmnd error path (was: Re: scsi: unify the error handling of the prep functions)
- From: Christoph Hellwig <hch lst de>
- To: Mike Snitzer <snitzer redhat com>
- Cc: linux-scsi vger kernel org, jaxboe fusionio com, FUJITA Tomonori <fujita tomonori lab ntt co jp>, dm-devel redhat com, James Bottomley suse de, hch lst de
- Subject: Re: [dm-devel] [PATCH v2] scsi: address leak in scsi_setup_discard_cmnd error path (was: Re: scsi: unify the error handling of the prep functions)
- Date: Wed, 7 Jul 2010 21:44:31 +0200
> Here is a minimalist patch that 1) removes the discard request's page
> leak 2) preserves the prep cleanup rules covered above. Fixing the leak
> is a priority, introducing additional error path code sharing/cleanup is
> secondary and can come later.
I much prefer this approach.
> Signed-off-by: Mike Snitzer <snitzer redhat com>
Reviewed-by: Christoph Hellwig <hch lst de>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]