commit | bd38c5557cf482fc195e2264b32ea62eed60730a | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Wed Jan 26 14:34:32 2011 -0500 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri Nov 04 15:52:52 2011 -0400 |
tree | 94204652ead86752f5545e4f0bf9befd25c83351 | |
parent | b8deb62cf271fa9381edc8cf52bcae2f0225c55a [diff] |
NVMe: Change NVME_IOCTL_GET_RANGE_TYPE to return all the ranges 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>