From fa7d4218c7038cb4bd29cbdf693306118b324030 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 18 Jul 2019 19:07:32 -0400 Subject: remove mips/n32/64 stat struct hacks from syscall machinery now that we have a kstat structure decoupled from the public struct stat, we can just use the broken kernel structures directly and let the code in fstatat do the translation. --- arch/mips/kstat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/mips/kstat.h') diff --git a/arch/mips/kstat.h b/arch/mips/kstat.h index 96e4ea34..5e637eab 100644 --- a/arch/mips/kstat.h +++ b/arch/mips/kstat.h @@ -1,13 +1,13 @@ struct kstat { - dev_t st_dev; - long __st_padding1[2]; + unsigned st_dev; + long __st_padding1[3]; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; uid_t st_uid; gid_t st_gid; - dev_t st_rdev; - long __st_padding2[2]; + unsigned st_rdev; + long __st_padding2[3]; off_t st_size; long st_atime_sec; long st_atime_nsec; -- cgit v1.2.1