From 2bfa342cdadbcb3d4421dd752bbe1e63e0f6430f Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Mon, 10 Oct 2016 21:29:36 -0700 Subject: Make -o clone_fd into a parameter of session_loop_mt(). This option really affects the behavior of the session loop, not the low-level interface. Therefore, it does not belong in the fuse_session object. --- lib/fuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/fuse.c') diff --git a/lib/fuse.c b/lib/fuse.c index 3304d68..fb15b04 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -4378,7 +4378,7 @@ int fuse_loop(struct fuse *f) return fuse_session_loop(f->se); } -int fuse_loop_mt(struct fuse *f) +int fuse_loop_mt(struct fuse *f, int clone_fd) { if (f == NULL) return -1; @@ -4387,7 +4387,7 @@ int fuse_loop_mt(struct fuse *f) if (res) return -1; - res = fuse_session_loop_mt(fuse_get_session(f)); + res = fuse_session_loop_mt(fuse_get_session(f), clone_fd); fuse_stop_cleanup_thread(f); return res; } -- cgit v1.2.3