Add statx support

This commit is contained in:
Antonio SJ Musumeci 2025-03-30 18:06:30 -05:00
parent b85cc8c370
commit 80085c9844
11 changed files with 446 additions and 3 deletions

View file

@ -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

View file

@ -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
*