[PATCH V2 0/1] nvme: fix controller ioctl through ns_head

Minwoo Im minwoo.im.dev at gmail.com
Thu Apr 22 09:04:06 BST 2021


Hello,

This series is to fix controller ioctl through the ns_head block device
and the per-namespace generic device.  This patch is mostly manual
revert for the commit 3557a4409701 ("nvme: don't bother to look up a
namespace for controller ioctls") with few more updates to the generic
device.

Please review.

Thanks,

Since V1:
  - Manually revert 3557a4409701 ("nvme: don't bother to look up a
    namespace for controller ioctls").  (Christoph)
  - Updates nvme_ns_head_chr_ioctl() which has been newly added for
    generic per-namespace chardev.

Minwoo Im (1):
  nvme: fix controller ioctl through ns_head

 drivers/nvme/host/core.c  | 22 -------------
 drivers/nvme/host/ioctl.c | 65 ++++++++++++++++++++++++---------------
 drivers/nvme/host/nvme.h  |  1 -
 3 files changed, 41 insertions(+), 47 deletions(-)

-- 
2.27.0




More information about the Linux-nvme mailing list