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:
parent
821bb03a11
commit
801c86528f
@ -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 {}
|
||||
|
@ -358,7 +358,7 @@ impl FuseData {
|
||||
data: buffer,
|
||||
size,
|
||||
offset,
|
||||
buffer: Arc::clone(&fuse_data.fbuf),
|
||||
_buffer: Arc::clone(&fuse_data.fbuf),
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user