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:
0e75556
)
[multipath] devt2devname() mis-ordered parameters
author
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 26 Oct 2005 09:32:25 +0000
(11:32 +0200)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 26 Oct 2005 09:32:25 +0000
(11:32 +0200)
This error caused scope limiting to major:minor not to work as expected.
multipath/main.c
patch
|
blob
|
history
diff --git
a/multipath/main.c
b/multipath/main.c
index
7808983
..
7d5e4f9
100644
(file)
--- a/
multipath/main.c
+++ b/
multipath/main.c
@@
-92,7
+92,7
@@
get_refwwid (vector pathvec)
pp = find_path_by_devt(pathvec, conf->dev);
if (!pp) {
- if (devt2devname(
conf->dev, buff
))
+ if (devt2devname(
buff, conf->dev
))
return NULL;
pp = alloc_path();
@@
-866,7
+866,7
@@
update_paths (struct multipath * mpp)
vector_foreach_slot (pgp->paths, pp, j) {
if (!strlen(pp->dev)) {
- if (devt2devname(pp->dev
_t, pp->dev
)) {
+ if (devt2devname(pp->dev
, pp->dev_t
)) {
/*
* path is not in sysfs anymore
*/