On Tue, 2014-06-10 at 11:07 -0700, Roland Dreier wrote: > From: Roland Dreier <roland@xxxxxxxxxxxxxxx> > > When an initiator sends an allocation length bigger than what its > command consumes, the target should only return the actual response data > and set the residual length to the unused part of the allocation length. > > Add a helper function that command handlers (INQUIRY, READ CAPACITY, > etc) can use to do this correctly. > > Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx> Applied to for-next. Thanks Roland! --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html