]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/nvme.c
NVMe: replace nvme_ns with nvme_dev for user admin
authorKeith Busch <keith.busch@intel.com>
Wed, 25 Jul 2012 22:07:55 +0000 (16:07 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Thu, 26 Jul 2012 16:24:36 +0000 (12:24 -0400)
commit50af8baec46a99a9b81a4600c0374f83a5a590a9
treed8bb38296faa6732c1dac9cbd64a1db43ab91f97
parent5c42ea1643a630060f9e71e06d3933d244970967
NVMe: replace nvme_ns with nvme_dev for user admin

The function nvme_user_admin_command does not require a namespace to
proceed.  Replace with the nvme_dev structure so that it can be called
from contexts that do not have a namespace.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c