mirror of https://github.com/trapexit/mergerfs.git
Browse Source
Merge pull request #797 from trapexit/getdents64
Merge pull request #797 from trapexit/getdents64
readdir: use getdents64 for compatibility with ARM64pull/798/head
trapexit
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 52 deletions
-
6libfuse/include/fuse_dirents.h
-
9libfuse/include/linux_dirent.h
-
12libfuse/include/linux_dirent64.h
-
10libfuse/lib/fuse_dirents.c
-
2src/fs_base_getdents.cpp
-
15src/fuse_readdir_linux.cpp
-
15src/fuse_readdir_plus_linux.cpp
@ -1,9 +0,0 @@ |
|||
#pragma once |
|||
|
|||
struct linux_dirent |
|||
{ |
|||
unsigned long ino; |
|||
unsigned long off; |
|||
unsigned short reclen; |
|||
char name[]; |
|||
}; |
@ -0,0 +1,12 @@ |
|||
#pragma once |
|||
|
|||
#include <stdint.h> |
|||
|
|||
struct linux_dirent64 |
|||
{ |
|||
uint64_t ino; |
|||
int64_t off; |
|||
uint16_t reclen; |
|||
uint8_t type; |
|||
char name[]; |
|||
}; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue