diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 21:56:45 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-09 21:56:45 +0000 |
commit | 271bfee2be2ff15ab3ae997119248714985562dd (patch) | |
tree | ec7c903f40a8fce13b108d444afdb192cc63b278 /include/asm-mips | |
parent | 5d65687612de2acc86818411fff0c5b671c8dd6b (diff) |
More cleaning of struct stat for glibc 2.2. The necessary glibc
patches will go into CVS asap. Remove st_flags and st_gen members,
nothing ever used them.
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/stat.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/asm-mips/stat.h b/include/asm-mips/stat.h index e8892d3da..aa7722afc 100644 --- a/include/asm-mips/stat.h +++ b/include/asm-mips/stat.h @@ -17,8 +17,7 @@ struct __old_kernel_stat { 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 { @@ -46,10 +45,7 @@ struct stat { 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[10]; }; /* @@ -67,7 +63,7 @@ struct stat64 { uid_t st_uid; gid_t st_gid; unsigned long st_rdev; - unsigned long st_pad1[3]; /* Reserved for st_rdev expansion */ + unsigned long st_pad1[2]; /* Reserved for st_rdev expansion */ long long st_size; /* * Actually this should be timestruc_t st_atime, st_mtime and st_ctime @@ -80,6 +76,7 @@ struct stat64 { time_t st_ctime; unsigned long reserved2; /* Reserved for st_atime expansion */ unsigned long st_blksize; + unsigned long st_pad2; long long st_blocks; }; |