mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
Add statx support
This commit is contained in:
parent
b85cc8c370
commit
80085c9844
11 changed files with 446 additions and 3 deletions
|
|
@ -343,6 +343,22 @@ fuse_reply_attr(fuse_req_t req,
|
|||
return send_reply_ok(req,&arg,size);
|
||||
}
|
||||
|
||||
int
|
||||
fuse_reply_statx(fuse_req_t req_,
|
||||
int flags_,
|
||||
struct fuse_statx *st_,
|
||||
uint64_t timeout_)
|
||||
{
|
||||
struct fuse_statx_out outarg{};
|
||||
|
||||
outarg.flags = flags_;
|
||||
outarg.attr_valid = timeout_;
|
||||
outarg.attr_valid_nsec = 0;
|
||||
outarg.stat = *(struct fuse_statx*)st_;
|
||||
|
||||
return send_reply_ok(req_,&outarg,sizeof(outarg));
|
||||
}
|
||||
|
||||
int
|
||||
fuse_reply_readlink(fuse_req_t req,
|
||||
const char *linkname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue