Skip to content

Commit 32f7428

Browse files
authored
Merge pull request #2098 from hermit-os/fs-inner
fix(fs): don't make inner handles public
2 parents 4712cd2 + a82e348 commit 32f7428

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/fs/fuse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ impl Drop for FuseFileHandleInner {
895895
}
896896
}
897897

898-
struct FuseFileHandle(pub Arc<Mutex<FuseFileHandleInner>>);
898+
struct FuseFileHandle(Arc<Mutex<FuseFileHandleInner>>);
899899

900900
impl FuseFileHandle {
901901
pub fn new() -> Self {

src/fs/uhyve.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl Drop for UhyveFileHandleInner {
9898
}
9999
}
100100

101-
struct UhyveFileHandle(pub Arc<Mutex<UhyveFileHandleInner>>);
101+
struct UhyveFileHandle(Arc<Mutex<UhyveFileHandleInner>>);
102102

103103
impl UhyveFileHandle {
104104
pub fn new(fd: i32) -> Self {

0 commit comments

Comments
 (0)