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:
Vladislav Bolkhovitin
2011-10-11 03:13:18 +00:00
parent 75bfcdfdbe
commit c8392145fa

View File

@@ -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;