mirror of
git://git.proxmox.com/git/proxmox-fuse.git
synced 2025-01-03 05:18:30 +03:00
make FuseBuf Send+Sync
It is - and as it is also used as an Arc and clippy warns about it. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
f5fb03dcc9
commit
2ca2cbce67
@ -208,6 +208,9 @@ pub struct FuseBuf {
|
|||||||
pos: off_t,
|
pos: off_t,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for FuseBuf {}
|
||||||
|
unsafe impl Sync for FuseBuf {}
|
||||||
|
|
||||||
impl Drop for FuseBuf {
|
impl Drop for FuseBuf {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user