ata: Fix ZBC_OUT all bit handling
authorDamien Le Moal <damien.lemoal@wdc.com>
Tue, 26 Jun 2018 11:56:55 +0000 (20:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2018 09:39:24 +0000 (11:39 +0200)
commit33b9257a64fe16277422062bd6ba2a090e78dbcf
treed4334eace89ba8c36b1a82c69bf0ace7889eb74f
parentaae31a169efbd0ee4000c02089597256439bff54
ata: Fix ZBC_OUT all bit handling

commit 6edf1d4cb0acde3a0a5dac849f33031bd7abb7b1 upstream.

If the ALL bit is set in the ZBC_OUT command, the command zone ID field
(block) should be ignored.

Reported-by: David Butterfield <david.butterfield@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ata/libata-scsi.c