]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - multipath-tools/patches/0027-RH-get-wwid.patch
multipath-tools: Update to snapshot from 2013-02-22
[people/pmueller/ipfire-3.x.git] / multipath-tools / patches / 0027-RH-get-wwid.patch
CommitLineData
289c5516
MT
1---
2 libmultipath/structs_vec.c | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5Index: multipath-tools-130222/libmultipath/structs_vec.c
6===================================================================
7--- multipath-tools-130222.orig/libmultipath/structs_vec.c
8+++ multipath-tools-130222/libmultipath/structs_vec.c
9@@ -106,7 +106,7 @@ orphan_paths (vector pathvec, struct mul
10 static void
11 set_multipath_wwid (struct multipath * mpp)
12 {
13- if (mpp->wwid)
14+ if (strlen(mpp->wwid))
15 return;
16
17 dm_get_uuid(mpp->alias, mpp->wwid);