patch-2.4.0-test12 linux/include/asm-mips64/stat.h
Next file: linux/include/asm-mips64/string.h
Previous file: linux/include/asm-mips64/spinlock.h
Back to the patch index
Back to the overall index
- Lines: 64
- Date:
Tue Nov 28 21:42:04 2000
- Orig file:
v2.4.0-test11/linux/include/asm-mips64/stat.h
- Orig date:
Sun Jul 9 22:18:15 2000
diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-mips64/stat.h linux/include/asm-mips64/stat.h
@@ -25,8 +25,7 @@
unsigned int st_ctime, st_res3;
unsigned int st_blksize;
int st_blocks;
- unsigned int st_flags;
- unsigned int st_gen;
+ unsigned int st_unused[2];
};
struct stat32 {
@@ -49,35 +48,43 @@
int reserved2;
int st_blksize;
int st_blocks;
- char st_fstype[16]; /* Filesystem type name */
- int st_pad4[8];
- unsigned int st_flags;
- unsigned int st_gen;
+ int st_pad4[14];
};
/* The memory layout is the same as of struct stat64 of the 32-bit kernel. */
struct stat {
dev_t st_dev;
unsigned int st_pad0[3]; /* Reserved for st_dev expansion */
- ino_t st_ino;
+
+ unsigned long st_ino;
+
mode_t st_mode;
nlink_t st_nlink;
+
uid_t st_uid;
gid_t st_gid;
+
dev_t st_rdev;
unsigned int st_pad1[3]; /* Reserved for st_rdev expansion */
+
off_t st_size;
+
/*
* Actually this should be timestruc_t st_atime, st_mtime and st_ctime
* but we don't have it under Linux.
*/
- time_t st_atime;
+ unsigned int st_atime;
unsigned int reserved0; /* Reserved for st_atime expansion */
- time_t st_mtime;
- unsigned int reserved1; /* Reserved for st_atime expansion */
- time_t st_ctime;
- unsigned int reserved2; /* Reserved for st_atime expansion */
+
+ unsigned int st_mtime;
+ unsigned int reserved1; /* Reserved for st_mtime expansion */
+
+ unsigned int st_ctime;
+ unsigned int reserved2; /* Reserved for st_ctime expansion */
+
unsigned int st_blksize;
+ unsigned int st_pad2;
+
unsigned long st_blocks;
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)