summaryrefslogtreecommitdiffstats
path: root/block/blk-zoned.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-09 09:28:28 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-02-23 03:11:08 +0100
commit73bd66d9c834220579c881a3eb020fd8917075d8 (patch)
treec9b3f373a86dd638b77affe8b2dcb377ff055d75 /block/blk-zoned.c
parentscsi: dm: Remove WRITE_SAME support (diff)
downloadlinux-73bd66d9c834220579c881a3eb020fd8917075d8.tar.xz
linux-73bd66d9c834220579c881a3eb020fd8917075d8.zip
scsi: block: Remove REQ_OP_WRITE_SAME support
No more users of REQ_OP_WRITE_SAME or drivers implementing it are left, so remove the infrastructure. [mkp: fold in and tweak sysfs reporting fix] Link: https://lore.kernel.org/r/20220209082828.2629273-8-hch@lst.de Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/blk-zoned.c')
-rw-r--r--block/blk-zoned.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-zoned.c b/block/blk-zoned.c
index 774ecc598bee..61fb6c52f4f3 100644
--- a/block/blk-zoned.c
+++ b/block/blk-zoned.c
@@ -65,7 +65,6 @@ bool blk_req_needs_zone_write_lock(struct request *rq)
switch (req_op(rq)) {
case REQ_OP_WRITE_ZEROES:
- case REQ_OP_WRITE_SAME:
case REQ_OP_WRITE:
return blk_rq_zone_is_seq(rq);
default: