Skip to content

Commit

Permalink
fix: fuser 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Nov 11, 2024
1 parent 632d105 commit 8f70870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion remotefs-fuse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tempfile = "^3"


[target.'cfg(unix)'.dependencies]
fuser = "0.14"
fuser = "0.15"
libc = "^0.2"
nix = { version = "0.29", features = ["fs"] }

Expand Down
2 changes: 1 addition & 1 deletion remotefs-fuse/src/driver/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ where
}

/// Get file attributes.
fn getattr(&mut self, _req: &Request, ino: u64, reply: ReplyAttr) {
fn getattr(&mut self, _req: &Request, ino: u64, _fh: Option<u64>, reply: ReplyAttr) {
info!("getattr() called with {ino}");
let attrs = match self.get_inode(ino) {
Err(err) => {
Expand Down

0 comments on commit 8f70870

Please sign in to comment.