mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
Reverse r3894, because it is incorrect. There is no order dependency
between CPUs here, so there's no need in the corresponding fence command. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3896 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -4438,8 +4438,7 @@ static int vdev_sysfs_process_get_filename(struct scst_sysfs_work_item *work)
|
||||
* under scst_vdisk_mutex.
|
||||
*/
|
||||
while (!mutex_trylock(&scst_vdisk_mutex)) {
|
||||
smp_mb();
|
||||
if (dev->dev_unregistering) {
|
||||
if ((volatile bool)(dev->dev_unregistering)) {
|
||||
TRACE_MGMT_DBG("Skipping being unregistered dev %s",
|
||||
dev->virt_name);
|
||||
res = -ENOENT;
|
||||
|
||||
Reference in New Issue
Block a user