mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
14 lines
428 B
Diff
14 lines
428 B
Diff
diff --git a/src/catfs/file.rs b/src/catfs/file.rs
|
|
index 6e781eb..92fdd80 100644
|
|
--- a/src/catfs/file.rs
|
|
+++ b/src/catfs/file.rs
|
|
@@ -569,7 +569,7 @@ impl Handle {
|
|
path: &dyn AsRef<Path>,
|
|
create: bool,
|
|
) -> error::Result<()> {
|
|
- let _ = self.page_in_res.0.lock().unwrap();
|
|
+ drop(self.page_in_res.0.lock().unwrap());
|
|
|
|
let mut buf = [0u8; 0];
|
|
let mut flags = rlibc::O_RDWR;
|