[multipathd] superfluous unlock() in uevent discard code path
authorChristophe Varoqui <root@xa-s05.(none)>
Wed, 16 Nov 2005 08:43:38 +0000 (09:43 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Wed, 16 Nov 2005 08:43:38 +0000 (09:43 +0100)
Removed.
Found and fixed by Edward Goggin, EMC

multipathd/main.c

index f186d7f..2cbc814 100644 (file)
@@ -994,7 +994,7 @@ uev_trigger (struct uevent * uev, void * trigger_data)
        vecs = (struct vectors *)trigger_data;
 
        if (uev_discard(uev->devpath))
-               goto out;
+               return 1;
 
        basename(uev->devpath, devname);
        lock(vecs->lock);