5
0
mirror of git://git.proxmox.com/git/proxmox-fuse.git synced 2025-03-10 16:58:38 +03:00

fix warning

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-03-04 09:24:35 +01:00
parent 821bb03a11
commit 801c86528f
2 changed files with 2 additions and 2 deletions

View File

@ -683,7 +683,7 @@ pub struct Write {
/// We keep a reference count on the buffer we pass to `fuse_session_receive_buf` so it will
/// not be cleared until it is used up by requests borrowing data from it, like `Write`.
pub(crate) buffer: Arc<sys::FuseBuf>,
pub(crate) _buffer: Arc<sys::FuseBuf>,
}
unsafe impl Send for Write {}

View File

@ -358,7 +358,7 @@ impl FuseData {
data: buffer,
size,
offset,
buffer: Arc::clone(&fuse_data.fbuf),
_buffer: Arc::clone(&fuse_data.fbuf),
}));
}