Skip to content

Commit

Permalink
feat(ofs): fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Mar 27, 2024
1 parent 2b84475 commit e7c1574
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/ofs/src/fuse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use std::time::SystemTime;

use bytes::Bytes;


use fuse3::path::prelude::*;
use fuse3::Errno;
use fuse3::Result;
Expand Down Expand Up @@ -735,7 +734,7 @@ impl PathFilesystem for Fuse {
.await?;

let ReplyWrite { written } = self
.write(req, to_path, fh_out, offset_out, &data.data, flags as _)
.write(req, to_path, fh_out, offset_out, &data.data, 0, flags as _)
.await?;

Ok(ReplyCopyFileRange {
Expand Down

0 comments on commit e7c1574

Please sign in to comment.