NVMe: Create nvme_identify and nvme_get_features functions
Instead of open-coding calls to nvme_submit_admin_cmd, these
small wrappers are simpler to use (the patch removes 14 lines from
nvme_dev_add() for example).
Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com>
Showing
想要评论请 注册 或 登录