NVMe: Change NVME_IOCTL_GET_RANGE_TYPE to return all the ranges
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Wed, 26 Jan 2011 19:34:32 +0000 (14:34 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:52 +0000 (15:52 -0400)
Factor out most of nvme_identify() into a new nvme_submit_user_admin_command()
function.  Change nvme_get_range_type() to call it and change nvme_ioctl to
realise that it's getting back all 64 ranges.

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

Simple merge