patch-2.4.22 linux-2.4.22/include/asm-arm/stat.h

Next file: linux-2.4.22/include/asm-arm/system.h
Previous file: linux-2.4.22/include/asm-arm/signal.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-arm/stat.h linux-2.4.22/include/asm-arm/stat.h
@@ -40,6 +40,8 @@
 
 /* This matches struct stat64 in glibc2.1, hence the absolutely
  * insane amounts of padding around dev_t's.
+ * Note: The kernel zero's the padded region because glibc might read them
+ * in the hope that the kernel has stretched to using larger sizes.
  */
 struct stat64 {
 	unsigned short	st_dev;

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