patch-2.4.22 linux-2.4.22/fs/stat.c

Next file: linux-2.4.22/fs/super.c
Previous file: linux-2.4.22/fs/reiserfs/tail_conversion.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/stat.c linux-2.4.22/fs/stat.c
@@ -37,6 +37,8 @@
 	static int warncount = 5;
 	struct __old_kernel_stat tmp;
 
+	memset(&tmp, 0, sizeof(struct __old_kernel_stat));
+	
 	if (warncount > 0) {
 		warncount--;
 		printk(KERN_WARNING "VFS: Warning: %s using old stat() call. Recompile your binary.\n",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)