]> 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)
commit1760423ca1731898d743f8822266fd8ee90b2f49
treee0f0b0166f472bfafc99175a1983b4a4316ad7de
parent4adf04431dd983123fd72b4c1b9050f28fc0d856
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