Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/target/target_core_tpg.c

    r31662 r31885  
    641641        struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev);
    642642
     643        lun->lun_shutdown = true;
     644
    643645        core_clear_lun_from_tpg(lun, tpg);
    644646        /*
     
    662664        if (!(dev->se_hba->hba_flags & HBA_FLAGS_INTERNAL_USE))
    663665                hlist_del_rcu(&lun->link);
     666
     667        lun->lun_shutdown = false;
    664668        mutex_unlock(&tpg->tpg_lun_mutex);
    665669
Note: See TracChangeset for help on using the changeset viewer.