mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Rework how fuse request context is handled (#1543)
This commit is contained in:
parent
d18c273293
commit
0371f03def
117 changed files with 1894 additions and 2438 deletions
|
|
@ -47,14 +47,15 @@ _copy_file_range(const int src_fd_,
|
|||
}
|
||||
|
||||
ssize_t
|
||||
FUSE::copy_file_range(const fuse_file_info_t *src_ffi_,
|
||||
FUSE::copy_file_range(const fuse_req_ctx_t *ctx_,
|
||||
const fuse_file_info_t *src_ffi_,
|
||||
off_t src_off_,
|
||||
const fuse_file_info_t *dst_ffi_,
|
||||
off_t dst_off_,
|
||||
const size_t size_,
|
||||
const unsigned int flags_)
|
||||
{
|
||||
FileInfo *src_fi = FileInfo::from_fh(src_ffi_->fh);
|
||||
FileInfo *src_fi = FileInfo::from_fh(src_ffi_->fh);
|
||||
FileInfo *dst_fi = FileInfo::from_fh(dst_ffi_->fh);
|
||||
|
||||
return ::_copy_file_range(src_fi->fd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue