On Sun, 2 Oct 2016 09:04:01 -0700 Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > WRITE_SAME_1* takes either no data at all or exactly one block of data > as DataOut. Check for this and fail the cdb if the DataOut size differs. > > (Some initiators use DataOut size == 0 (primarily together with unmap) > to mean "use a block all filled with 0" so that is why I think we > should be liberal and allow size==0 too here.) > > Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> > --- > usr/sbc.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied both, thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html