Skip to content

Commit

Permalink
Make mnt::Mount public (#1098)
Browse files Browse the repository at this point in the history
## Description of change

fuser v0.15.0 added support for creating sessions from FUSE fd. I'm
working on a PR to add this support to Mountpoint. We still need to open
the FUSE device and call `mount` syscall in order to test this new
behavior, and all this logic is already exists with `mnt::Mount`.

We could just copy the logic from `mnt::Mount` - but since we already
have this fork, making this change seemed fine to me. Maybe we can also
consider upstreaming it.

## Does this change impact existing behavior?

No

## Does this change need a changelog entry in any of the crates?

No

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Signed-off-by: Burak Varli <[email protected]>
  • Loading branch information
unexge authored and dannycjones committed Nov 12, 2024
1 parent 7dae7c0 commit 1b4d842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use crate::mnt::mount_options::check_option_conflicts;
use crate::session::MAX_WRITE_SIZE;
#[cfg(feature = "abi-7-16")]
pub use ll::fuse_abi::fuse_forget_one;
pub use mnt::mount_options::MountOption;
pub use mnt::{Mount, mount_options::MountOption};
#[cfg(feature = "abi-7-11")]
pub use notify::{Notifier, PollHandle};
#[cfg(feature = "abi-7-11")]
Expand Down

0 comments on commit 1b4d842

Please sign in to comment.