Use nvme_ns_head instead of nvme_ns where possible. This reduces theReviewed-by: Hannes Reinecke <hare@xxxxxxx>
coupling between the different data structures.
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
Signed-off-by: Daniel Wagner <dwagner@xxxxxxx>
---
drivers/nvme/host/core.c | 106 +++++++++++++++++++--------------------
drivers/nvme/host/zns.c | 16 +++---
2 files changed, 62 insertions(+), 60 deletions(-)