mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 11:26:44 -05:00
Add statx support
This commit is contained in:
parent
b85cc8c370
commit
80085c9844
11 changed files with 446 additions and 3 deletions
|
|
@ -549,6 +549,16 @@ struct fuse_operations
|
|||
int (*removemapping)();
|
||||
int (*syncfs)();
|
||||
int (*tmpfile)(const char *, mode_t, fuse_file_info_t *);
|
||||
int (*statx)(const char *fusepath,
|
||||
const uint32_t flags,
|
||||
const uint32_t mask,
|
||||
struct fuse_statx *st,
|
||||
fuse_timeouts_t *timeout);
|
||||
int (*statx_fh)(const uint64_t fh,
|
||||
const uint32_t flags,
|
||||
const uint32_t mask,
|
||||
struct fuse_statx *st,
|
||||
fuse_timeouts_t *timeout);
|
||||
};
|
||||
|
||||
/** Extra context that may be needed by some filesystems
|
||||
|
|
|
|||
|
|
@ -257,6 +257,12 @@ int fuse_reply_attr(fuse_req_t req,
|
|||
const struct stat *attr,
|
||||
const uint64_t timeout);
|
||||
|
||||
|
||||
int fuse_reply_statx(fuse_req_t req,
|
||||
int flags,
|
||||
struct fuse_statx *st,
|
||||
const uint64_t timeout);
|
||||
|
||||
/**
|
||||
* Reply with the contents of a symbolic link
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue