mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
path_id: prevent endless loop for SAS devices on older kernels
This commit is contained in:
parent
7223b9c951
commit
ecc527e0be
@ -252,6 +252,7 @@ handle_fc () {
|
||||
fi
|
||||
if [ -z "$wwpn" ] ; then
|
||||
: no WWPN
|
||||
D=
|
||||
RESULT=1
|
||||
return
|
||||
fi
|
||||
@ -290,6 +291,7 @@ handle_sas () {
|
||||
fi
|
||||
if [ -z "$phy_address" ] ; then
|
||||
: no initiator address
|
||||
D=
|
||||
RESULT=1
|
||||
return
|
||||
fi
|
||||
@ -301,6 +303,7 @@ handle_sas () {
|
||||
fi
|
||||
if [ -z "$rphy_address" ] ; then
|
||||
: no initiator address
|
||||
D=
|
||||
RESULT=1
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user