Skip to content

Commit 84c488f

Browse files
committed
Make run() public for fuse-pipe multi-reader pattern
fuse-pipe uses Session::run() for its multi-reader FUSE implementation. The method was made pub(crate) upstream but we need it public in our fork.
1 parent 1c365bf commit 84c488f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl<FS: Filesystem> Session<FS> {
191191
/// may run concurrent by spawning threads.
192192
/// # Errors
193193
/// Returns any final error when the session comes to an end.
194-
pub(crate) fn run(mut self) -> io::Result<()> {
194+
pub fn run(mut self) -> io::Result<()> {
195195
// Buffer for receiving requests from the kernel. Only one is allocated and
196196
// it is reused immediately after dispatching to conserve memory and allocations.
197197
let mut buffer = vec![0; BUFFER_SIZE];

0 commit comments

Comments
 (0)