File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ int nvme_reset_ctrl(struct nvme_ctrl *ctrl)
95
95
}
96
96
EXPORT_SYMBOL_GPL (nvme_reset_ctrl );
97
97
98
- static int nvme_reset_ctrl_sync (struct nvme_ctrl * ctrl )
98
+ int nvme_reset_ctrl_sync (struct nvme_ctrl * ctrl )
99
99
{
100
100
int ret ;
101
101
@@ -104,6 +104,7 @@ static int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl)
104
104
flush_work (& ctrl -> reset_work );
105
105
return ret ;
106
106
}
107
+ EXPORT_SYMBOL_GPL (nvme_reset_ctrl_sync );
107
108
108
109
static void nvme_delete_ctrl_work (struct work_struct * work )
109
110
{
Original file line number Diff line number Diff line change @@ -394,6 +394,7 @@ int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count);
394
394
void nvme_start_keep_alive (struct nvme_ctrl * ctrl );
395
395
void nvme_stop_keep_alive (struct nvme_ctrl * ctrl );
396
396
int nvme_reset_ctrl (struct nvme_ctrl * ctrl );
397
+ int nvme_reset_ctrl_sync (struct nvme_ctrl * ctrl );
397
398
int nvme_delete_ctrl (struct nvme_ctrl * ctrl );
398
399
int nvme_delete_ctrl_sync (struct nvme_ctrl * ctrl );
399
400
Original file line number Diff line number Diff line change @@ -2537,7 +2537,7 @@ static void nvme_reset_prepare(struct pci_dev *pdev)
2537
2537
static void nvme_reset_done (struct pci_dev * pdev )
2538
2538
{
2539
2539
struct nvme_dev * dev = pci_get_drvdata (pdev );
2540
- nvme_reset_ctrl (& dev -> ctrl );
2540
+ nvme_reset_ctrl_sync (& dev -> ctrl );
2541
2541
}
2542
2542
2543
2543
static void nvme_shutdown (struct pci_dev * pdev )
You can’t perform that action at this time.
0 commit comments