[PATCH 1/3] nvme-fabrics: don't check for non-NULL module in nvmf_register_transport
Keith Busch
keith.busch at intel.com
Thu Feb 22 07:31:35 PST 2018
On Thu, Feb 22, 2018 at 07:24:08AM -0800, Christoph Hellwig wrote:
> THIS_MODULE evaluates to NULL when used from code built into the kernel,
> thus breaking built-in transport modules. Remove the bogus check.
>
> Fixes: 0de5cd36 ("nvme-fabrics: protect against module unload during create_ctrl")
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good.
Reviewed-by: Keith Busch <keith.busch at intel.com>
More information about the Linux-nvme
mailing list