projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4ccd07
)
Add missing unlock() on exit path
author
Hannes Reinecke
<hare@suse.de>
Thu, 18 Dec 2008 15:20:09 +0000
(16:20 +0100)
committer
Christophe Varoqui
<christophe.varoqui@free.fr>
Tue, 21 Apr 2009 23:06:05 +0000
(
01:06
+0200)
We forgot to unlock the paths on exit.
Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/configure.c
patch
|
blob
|
history
diff --git
a/libmultipath/configure.c
b/libmultipath/configure.c
index
9f9c118
..
783ea40
100644
(file)
--- a/
libmultipath/configure.c
+++ b/
libmultipath/configure.c
@@
-342,6
+342,7
@@
domap (struct multipath * mpp)
if (dm_map_present(mpp->alias)) {
condlog(3, "%s: map already present", mpp->alias);
+ lock_multipath(mpp, 0);
break;
}