Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Dec 19, 2024
1 parent 293613a commit 89b924c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remotefs-fuse/src/driver/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ where
FileAttr {
ino: Driver::<T>::inode(value.path()),
size: value.metadata().size,
blocks: (value.metadata().size + BLOCK_SIZE as u64 - 1) / BLOCK_SIZE as u64,
blocks: value.metadata().size.div_ceil(BLOCK_SIZE as u64),
atime: value.metadata().accessed.unwrap_or(UNIX_EPOCH),
mtime: value.metadata().modified.unwrap_or(UNIX_EPOCH),
ctime: value.metadata().created.unwrap_or(UNIX_EPOCH),
Expand Down

0 comments on commit 89b924c

Please sign in to comment.