linux/drivers/nvme/target
Christoph Hellwig a6a4b057cd nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it
[ Upstream commit 61f37154c5 ]

Use NVME_CMD_EFFECTS_CSUPP instead of open coding it and assign a
single value to multiple array entries instead of repeated assignments.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-01-12 11:59:17 +01:00
..
admin-cmd.c nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it 2023-01-12 11:59:17 +01:00
configfs.c nvmet: fix memory leak in nvmet_subsys_attr_model_store_locked 2022-12-02 17:41:02 +01:00
core.c nvmet: only allocate a single slab for bvecs 2022-12-31 13:14:09 +01:00
discovery.c nvmet: allow mn change if subsys not discovered 2021-06-17 15:51:19 +02:00
fabrics-cmd.c nvmet: check that host sqsize does not exceed ctrl MQES 2021-08-16 14:42:25 +02:00
fc.c nvmet: use a private workqueue instead of the system workqueue 2022-05-25 09:57:25 +02:00
fcloop.c nvmet: use a private workqueue instead of the system workqueue 2022-05-25 09:57:25 +02:00
io-cmd-bdev.c nvmet: add ZBD over ZNS backend support 2021-06-17 15:51:21 +02:00
io-cmd-file.c nvmet: only allocate a single slab for bvecs 2022-12-31 13:14:09 +01:00
Kconfig nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers 2021-08-16 21:03:18 +02:00
loop.c nvmet: use a private workqueue instead of the system workqueue 2022-05-25 09:57:25 +02:00
Makefile nvmet: add ZBD over ZNS backend support 2021-06-17 15:51:21 +02:00
nvmet.h nvmet: only allocate a single slab for bvecs 2022-12-31 13:14:09 +01:00
passthru.c nvmet: don't defer passthrough commands with trivial effects to the workqueue 2023-01-12 11:58:43 +01:00
rdma.c nvmet: use a private workqueue instead of the system workqueue 2022-05-25 09:57:25 +02:00
tcp.c nvmet-tcp: add bounds check on Transfer Tag 2022-10-26 12:35:51 +02:00
trace.c nvmet: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvmet: use min of device_path and disk len 2021-02-10 16:38:05 +01:00
zns.c nvmet: fix mar and mor off-by-one errors 2022-09-15 11:30:06 +02:00