patch-2.1.40 linux/fs/autofs/root.c

Next file: linux/fs/autofs/waitq.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.39/linux/fs/autofs/root.c linux/fs/autofs/root.c
@@ -376,6 +376,8 @@
 	struct autofs_packet_expire pkt;
 	struct autofs_dirhash *dh = &(sbi->dirhash);
 	
+	memset(&pkt,0,sizeof pkt);
+
 	pkt.hdr.proto_version = AUTOFS_PROTO_VERSION;
 	pkt.hdr.type = autofs_ptype_expire;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov