]> git.baikalelectronics.ru Git - kernel.git/commit
target: Return an error for WRITE SAME with ANCHOR==1
authorRoland Dreier <roland@purestorage.com>
Mon, 14 Oct 2013 22:49:23 +0000 (15:49 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 16 Oct 2013 20:32:07 +0000 (13:32 -0700)
commit44bfd51c0596904d449d85adfbfd7947e0ae612b
treee0f0b0166f472bfafc99175a1983b4a4316ad7de
parent6b9d6f308b43cf2d774167cafe1de6a13ba353f0
target: Return an error for WRITE SAME with ANCHOR==1

Per SBC-3, since we report ANC_SUP==0 in VPD page B2h, we need to return
an error (ILLEGAL REQUEST/INVALID FIELD IN CDB) for all WRITE SAME
requests with ANCHOR==1.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c