Re: [PATCH 06/19] nfsd: Check private request size before submitting a SCSI request

2017-05-26 Thread bfie...@fieldses.org
On Fri, May 26, 2017 at 08:10:03AM +0200, h...@lst.de wrote: > On Thu, May 25, 2017 at 08:19:47PM +, Bart Van Assche wrote: > > On Thu, 2017-05-25 at 14:48 -0400, J . Bruce Fields wrote: > > > On Thu, May 25, 2017 at 11:43:14AM -0700, Bart Van Assche wrote: > > > > Since using scsi_req() is onl

Re: [PATCH 06/19] nfsd: Check private request size before submitting a SCSI request

2017-05-25 Thread h...@lst.de
On Thu, May 25, 2017 at 08:19:47PM +, Bart Van Assche wrote: > On Thu, 2017-05-25 at 14:48 -0400, J . Bruce Fields wrote: > > On Thu, May 25, 2017 at 11:43:14AM -0700, Bart Van Assche wrote: > > > Since using scsi_req() is only allowed against request queues for > > > which struct scsi_request

Re: [PATCH 06/19] nfsd: Check private request size before submitting a SCSI request

2017-05-25 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH 06/19] nfsd: Check private request size before submitting a SCSI request

2017-05-25 Thread Bart Van Assche
On Thu, 2017-05-25 at 14:48 -0400, J . Bruce Fields wrote: > On Thu, May 25, 2017 at 11:43:14AM -0700, Bart Van Assche wrote: > > Since using scsi_req() is only allowed against request queues for > > which struct scsi_request is the first member of their private > > request data, refuse to submit S

Re: [PATCH 06/19] nfsd: Check private request size before submitting a SCSI request

2017-05-25 Thread J . Bruce Fields
On Thu, May 25, 2017 at 11:43:14AM -0700, Bart Van Assche wrote: > Since using scsi_req() is only allowed against request queues for > which struct scsi_request is the first member of their private > request data, refuse to submit SCSI commands against a queue for > which this is not the case. Is