From ecc527e0becc01811220fdc9b433c51dc97569c7 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 26 May 2006 17:35:44 +0200 Subject: [PATCH] path_id: prevent endless loop for SAS devices on older kernels --- extras/path_id/path_id | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extras/path_id/path_id b/extras/path_id/path_id index a6dfbf1a0..f9b3d5a73 100644 --- 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 + 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 -- 2.30.2