diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-20 15:14:44 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-05-26 08:54:16 +0200 |
commit | d3d5b87ddde09bade512526f6df90e8c06c28230 (patch) | |
tree | 5fc49b4a887dde1ce8ee87d8b606db34709ac2f8 /drivers/nvme/host/rdma.c | |
parent | nvme-pci: consistencly use ctrl->device for logging (diff) | |
download | linux-d3d5b87ddde09bade512526f6df90e8c06c28230.tar.xz linux-d3d5b87ddde09bade512526f6df90e8c06c28230.zip |
nvme: replace is_flags field in nvme_ctrl_ops with a flags field
So that we can have more flags for transport-specific behavior.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/nvme/host/rdma.c')
-rw-r--r-- | drivers/nvme/host/rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index e2c18f3d9dcf..28bd255c144d 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -1792,7 +1792,7 @@ static int nvme_rdma_reset_ctrl(struct nvme_ctrl *nctrl) static const struct nvme_ctrl_ops nvme_rdma_ctrl_ops = { .name = "rdma", .module = THIS_MODULE, - .is_fabrics = true, + .flags = NVME_F_FABRICS, .reg_read32 = nvmf_reg_read32, .reg_read64 = nvmf_reg_read64, .reg_write32 = nvmf_reg_write32, |