mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-17 18:02:30 +08:00
Remove write_buf, simplify FUSE msg dispatching
This commit is contained in:
@ -182,8 +182,7 @@ static ssize_t fuse_buf_splice(const struct fuse_buf *dst, size_t dst_off,
|
||||
}
|
||||
|
||||
while (len) {
|
||||
res = splice(src->fd, srcpos, dst->fd, dstpos, len,
|
||||
splice_flags);
|
||||
res = splice(src->fd, srcpos, dst->fd, dstpos, len, splice_flags);
|
||||
if (res == -1) {
|
||||
if (copied)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user