diff mbox

multipath-tools/multipathd main.c

Message ID 20120807193751.21270.qmail@sourceware.org (mailing list archive)
State Deferred, archived
Headers show

Commit Message

bmarzins@sourceware.org Aug. 7, 2012, 7:37 p.m. UTC
CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	bmarzins@sourceware.org	2012-08-07 19:37:51

Modified files:
	multipathd     : main.c 

Log message:
	Fix for bz #843626. Make sure multipathd doesn't remove the
	/var/cache/multipathd directory. Not applicable upstream.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.42&r2=1.69.2.43


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

--- multipath-tools/multipathd/main.c	2012/07/11 23:03:34	1.69.2.42
+++ multipath-tools/multipathd/main.c	2012/08/07 19:37:51	1.69.2.43
@@ -1427,6 +1427,7 @@ 
 		    strncmp(mnt, "/dev", 4) == 0 || strncmp(mnt, "/sys", 4) == 0 ||
 		    strcmp(mnt, "/var") == 0 || strcmp(mnt, "/var/lib") == 0 ||
 		    strcmp(mnt, "/var/lib/multipath") == 0 ||
+		    strcmp(mnt, CALLOUT_DIR) == 0 ||
 		    strncmp(mnt, "/var/run", 8) == 0 || strncmp(mnt, "/lib", 4) == 0 ||
 		    strncmp(mnt, "/lib64", 6) == 0 || strncmp(mnt, "/usr/lib64", 10) == 0 ||
 		    strncmp(mnt, "/ram", 4) == 0)