diff options
Diffstat (limited to 'drivers/vhost/scsi.c')
-rw-r--r-- | drivers/vhost/scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index e9368842c63f..76f8d649147b 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c | |||
@@ -1797,7 +1797,7 @@ static int vhost_scsi_drop_nexus(struct vhost_scsi_tpg *tpg) | |||
1797 | /* | 1797 | /* |
1798 | * Release the SCSI I_T Nexus to the emulated vhost Target Port | 1798 | * Release the SCSI I_T Nexus to the emulated vhost Target Port |
1799 | */ | 1799 | */ |
1800 | transport_deregister_session(tv_nexus->tvn_se_sess); | 1800 | target_remove_session(se_sess); |
1801 | tpg->tpg_nexus = NULL; | 1801 | tpg->tpg_nexus = NULL; |
1802 | mutex_unlock(&tpg->tv_tpg_mutex); | 1802 | mutex_unlock(&tpg->tv_tpg_mutex); |
1803 | 1803 | ||