Change in release handler to make it semantically cleaner

This commit is contained in:
Johannes Leupolz 2025-12-07 22:56:57 +00:00
parent 7b8ad17b79
commit 3f6186ef86

View file

@ -363,7 +363,7 @@ unsafe extern "C" fn vuinput_release(
);
drop(vuinput_state_mutex); // this also closes the file when no other references are open
// TODO: maybe also ensure that nothing is left in the containers
fuse_lowlevel::fuse_reply_err(_req, 0);
fuse_lowlevel::fuse_reply_none(_req);
}
unsafe extern "C" fn vuinput_ioctl(