nvmet: don't override treq upon modification.
Only override the allowed parts of it. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> [hch: slight tweak to the NVME_TREQ_SECURE_CHANNEL_MASK definition] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:

committed by
Jens Axboe

parent
e6a622fd6d
commit
0445e1b5a2
@@ -61,6 +61,8 @@ enum {
|
||||
NVMF_TREQ_NOT_SPECIFIED = 0, /* Not specified */
|
||||
NVMF_TREQ_REQUIRED = 1, /* Required */
|
||||
NVMF_TREQ_NOT_REQUIRED = 2, /* Not Required */
|
||||
#define NVME_TREQ_SECURE_CHANNEL_MASK \
|
||||
(NVMF_TREQ_REQUIRED | NVMF_TREQ_NOT_REQUIRED)
|
||||
};
|
||||
|
||||
/* RDMA QP Service Type codes for Discovery Log Page entry TSAS
|
||||
|
Reference in New Issue
Block a user