|
@@ -500,12 +500,14 @@ static inline void nvme_mpath_check_last_path(struct nvme_ns *ns)
|
|
|
#endif /* CONFIG_NVME_MULTIPATH */
|
|
|
|
|
|
#ifdef CONFIG_NVM
|
|
|
+void nvme_nvm_update_nvm_info(struct nvme_ns *ns);
|
|
|
int nvme_nvm_register(struct nvme_ns *ns, char *disk_name, int node);
|
|
|
void nvme_nvm_unregister(struct nvme_ns *ns);
|
|
|
int nvme_nvm_register_sysfs(struct nvme_ns *ns);
|
|
|
void nvme_nvm_unregister_sysfs(struct nvme_ns *ns);
|
|
|
int nvme_nvm_ioctl(struct nvme_ns *ns, unsigned int cmd, unsigned long arg);
|
|
|
#else
|
|
|
+static inline void nvme_nvm_update_nvm_info(struct nvme_ns *ns) {};
|
|
|
static inline int nvme_nvm_register(struct nvme_ns *ns, char *disk_name,
|
|
|
int node)
|
|
|
{
|