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
- Lines: 9
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/stat.c
- Orig date:
2001-09-13 16:04:43.000000000 -0700
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)