On Tue, 2011-11-22 at 13:51 -0800, Roland Dreier wrote: > From: Roland Dreier <roland@xxxxxxxxxxxxxxx> > > IO commands with a TRANSFER LENGTH of 0 are not an error; for example, > for READ (10) and WRITE (10), SBC-3 says: > > A TRANSFER LENGTH field set to zero specifies that no logical blocks > shall be read. This condition shall not be considered an error. > > In case we have nothing to do, just complete the command with good status. > > Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx> > --- > drivers/target/target_core_transport.c | 9 ++++++++- > 1 files changed, 8 insertions(+), 1 deletions(-) > Applied. --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