mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 05:47:57 +07:00
cf6ae8b50e
The kernel struct dirent{,64} were different from the ones in userspace. Even worse, we exported the kernel ones to userspace. But after the fat usages are fixed we can remove the conflicting kernel versions. Reviewed-by: H. Peter Anvin <hpa@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 lines
177 B
C
13 lines
177 B
C
#ifndef _LINUX_DIRENT_H
|
|
#define _LINUX_DIRENT_H
|
|
|
|
struct linux_dirent64 {
|
|
u64 d_ino;
|
|
s64 d_off;
|
|
unsigned short d_reclen;
|
|
unsigned char d_type;
|
|
char d_name[0];
|
|
};
|
|
|
|
#endif
|