mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
powerpc: Fix size of st_nlink on 64bit
commit e57f93cc53
(powerpc: get rid of nlink_t uses, switch to
explicitly-sized type) changed the size of st_nlink on ppc64 from
a long to a short, resulting in boot failures.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
86c47b70f6
commit
0fd7bee1e9
@ -30,7 +30,7 @@ struct stat {
|
||||
unsigned long st_dev;
|
||||
ino_t st_ino;
|
||||
#ifdef __powerpc64__
|
||||
unsigned short st_nlink;
|
||||
unsigned long st_nlink;
|
||||
mode_t st_mode;
|
||||
#else
|
||||
mode_t st_mode;
|
||||
|
Loading…
Reference in New Issue
Block a user