multipath-tools/multipathd main.c
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: [email protected] 2009-11-02 19:11:46
Modified files:
multipathd : main.c
Log message:
Fixed typo in unmounting unnecessary devices from multipathd's private namespace. Related to bz #532424. Not applicable upstream.
multipathd/main.c +1 -1
@@ -1289,7 +1289,7 @@strcmp (mnt,"/etc" ) ==0 ||strncmp (mnt,"/proc" ,5 ) ==0 ||strncmp (mnt,"/dev" ,4 ) ==0 ||strncmp (mnt,"/sys" ,4 ) ==0 ||strcmp (mnt,"/var" ) ==0 ||strncmp (mnt,"/var/lib" ,8 ) ==0 || -strncmp (mnt,"/var/run" ,8 ) ||strncmp (mnt,"/lib" ,4 ) ==0 || +strncmp (mnt,"/var/run" ,8 ) ==0 ||strncmp (mnt,"/lib" ,4 ) ==0 || strncmp(mnt, "/lib64", 6) == 0 || strncmp(mnt, "/usr/lib64", 10) == 0) continue;if (umount2 (mnt,MNT_DETACH ) <0 && errno !=ENOENT ) {