mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 12:09:34 +00:00 
			
		
		
		
	 cf6ae8b50e
			
		
	
	
		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
 |