]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/target/target_core_device.c
target: Fix left-over se_lun->lun_sep pointer OOPs
[linux-beck.git] / drivers / target / target_core_device.c
index 11d26fe65bfb09a278213c5937b6038041fca085..98da90167159b198dfc65a8ebdc912b350e4c6f0 100644 (file)
@@ -616,6 +616,7 @@ void core_dev_unexport(
        dev->export_count--;
        spin_unlock(&hba->device_lock);
 
+       lun->lun_sep = NULL;
        lun->lun_se_dev = NULL;
 }