patch-2.4.6 linux/include/asm-mips/stat.h
Next file: linux/include/asm-mips/system.h
Previous file: linux/include/asm-mips/stackframe.h
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Mon Jul 2 13:56:40 2001
- Orig file:
v2.4.5/linux/include/asm-mips/stat.h
- Orig date:
Sun Jul 9 22:18:15 2000
diff -u --recursive --new-file v2.4.5/linux/include/asm-mips/stat.h linux/include/asm-mips/stat.h
@@ -17,8 +17,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_unused0[2];
};
struct stat {
@@ -45,11 +44,7 @@
long reserved2;
long st_blksize;
long st_blocks;
- char st_fstype[16]; /* Filesystem type name */
- long st_pad4[8];
- /* Linux specific fields */
- unsigned int st_flags;
- unsigned int st_gen;
+ long st_pad4[14];
};
/*
@@ -61,25 +56,36 @@
struct stat64 {
unsigned long st_dev;
unsigned long st_pad0[3]; /* Reserved for st_dev expansion */
- ino_t st_ino;
+
+ unsigned long long st_ino;
+
mode_t st_mode;
nlink_t st_nlink;
+
uid_t st_uid;
gid_t st_gid;
+
unsigned long st_rdev;
unsigned long st_pad1[3]; /* Reserved for st_rdev expansion */
+
long long 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 long reserved0; /* Reserved for st_atime expansion */
+
time_t st_mtime;
- unsigned long reserved1; /* Reserved for st_atime expansion */
+ unsigned long reserved1; /* Reserved for st_mtime expansion */
+
time_t st_ctime;
- unsigned long reserved2; /* Reserved for st_atime expansion */
+ unsigned long reserved2; /* Reserved for st_ctime expansion */
+
unsigned long st_blksize;
+ unsigned long st_pad2;
+
long long st_blocks;
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)