mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add support for FUSE passthrough
This commit is contained in:
parent
92312c8507
commit
e310d24615
412 changed files with 43707 additions and 17432 deletions
|
|
@ -41,12 +41,12 @@ namespace l
|
|||
namespace FUSE
|
||||
{
|
||||
int
|
||||
fallocate(const fuse_file_info_t *ffi_,
|
||||
int mode_,
|
||||
off_t offset_,
|
||||
off_t len_)
|
||||
fallocate(const uint64_t fh_,
|
||||
int mode_,
|
||||
off_t offset_,
|
||||
off_t len_)
|
||||
{
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(ffi_->fh);
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(fh_);
|
||||
|
||||
return l::fallocate(fi->fd,
|
||||
mode_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue