mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-26 00:10:19 +00:00
Fix missed locking
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -998,7 +998,9 @@ out:
|
||||
|
||||
#ifndef CONFIG_SCST_PROC
|
||||
out_del_unlocked:
|
||||
mutex_lock(&scst_mutex);
|
||||
list_del(&dev->dev_list_entry);
|
||||
mutex_unlock(&scst_mutex);
|
||||
scst_free_device(dev);
|
||||
goto out;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user