• Minwoo Im's avatar
    nvme: fix controller ioctl through ns_head · 48145b62
    Minwoo Im authored
    In multipath case, we should consider namespace attachment with
    controllers in a subsystem when we find out the live controller for the
    namespace.  This patch manually reverted the commit 3557a440
    ("nvme: don't bother to look up a namespace for controller ioctls") with
    few more updates to nvme_ns_head_chr_ioctl which has been newly updated.
    
    Fixes: 3557a440 ("nvme: don't bother to look up a namespace for
    controller ioctls")
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarMinwoo Im <minwoo.im.dev@gmail.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    48145b62
ioctl.c 12.2 KB