commit | 71f41fe1fafae2e407ef19d8174207f7ff80b387 | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Fri Feb 08 15:18:40 2013 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Feb 13 12:16:11 2013 -0800 |
tree | e780f1e3fcfec59f5ff3f876d8850843d52b442c | |
parent | bb992e72f9b751fceb04afeb7736b6a3e50effcf [diff] |
target: Fix parameter list length checking in MODE SELECT An empty parameter list (length == 0) is not an error, so succeed MODE SELECT in this case. If the parameter list length is too small, return the correct sense code of PARAMETER LIST LENGTH ERROR. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>