patch-2.4.5 linux/include/asm-cris/stat.h

Next file: linux/include/asm-cris/system.h
Previous file: linux/include/asm-cris/semaphore-helper.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/include/asm-cris/stat.h linux/include/asm-cris/stat.h
@@ -1,7 +1,8 @@
 #ifndef _CRIS_STAT_H
 #define _CRIS_STAT_H
 
-/* verbatim copy of i386 version */
+/* Keep this a verbatim copy of i386 version; tweak CRIS-specific bits in
+   the kernel if necessary.  */
 
 struct __old_kernel_stat {
 	unsigned short st_dev;
@@ -47,7 +48,9 @@
 	unsigned short	st_dev;
 	unsigned char	__pad0[10];
 
-	unsigned long	st_ino;
+#define STAT64_HAS_BROKEN_ST_INO	1
+	unsigned long	__st_ino;
+
 	unsigned int	st_mode;
 	unsigned int	st_nlink;
 
@@ -72,8 +75,7 @@
 	unsigned long	st_ctime;
 	unsigned long	__pad7;		/* will be high 32 bits of ctime someday */
 
-	unsigned long	__unused1;
-	unsigned long	__unused2;
+	unsigned long long	st_ino;
 };
 
 #endif

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