chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7223b9c
)
path_id: prevent endless loop for SAS devices on older kernels
author
Kay Sievers
<kay.sievers@suse.de>
Fri, 26 May 2006 15:35:44 +0000
(17:35 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Fri, 26 May 2006 15:35:44 +0000
(17:35 +0200)
extras/path_id/path_id
patch
|
blob
|
history
diff --git
a/extras/path_id/path_id
b/extras/path_id/path_id
index a6dfbf1a089dd644ea8e50923cf519b9f6463967..f9b3d5a73fed89fe5d736e81fd8e5ce1a7e39d51 100644
(file)
--- a/
extras/path_id/path_id
+++ b/
extras/path_id/path_id
@@
-252,6
+252,7
@@
handle_fc () {
fi
if [ -z "$wwpn" ] ; then
: no WWPN
fi
if [ -z "$wwpn" ] ; then
: no WWPN
+ D=
RESULT=1
return
fi
RESULT=1
return
fi
@@
-290,6
+291,7
@@
handle_sas () {
fi
if [ -z "$phy_address" ] ; then
: no initiator address
fi
if [ -z "$phy_address" ] ; then
: no initiator address
+ D=
RESULT=1
return
fi
RESULT=1
return
fi
@@
-301,6
+303,7
@@
handle_sas () {
fi
if [ -z "$rphy_address" ] ; then
: no initiator address
fi
if [ -z "$rphy_address" ] ; then
: no initiator address
+ D=
RESULT=1
return
fi
RESULT=1
return
fi