diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-10 21:29:36 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-13 10:35:12 -0700 |
commit | 2bfa342cdadbcb3d4421dd752bbe1e63e0f6430f (patch) | |
tree | 50965d9492dd23f52a5274add9b322baa6d7a396 /lib/fuse.c | |
parent | 17b23ac3a5149eeb4d38d4830d9c5c80059ffdc3 (diff) |
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.
Diffstat (limited to 'lib/fuse.c')
-rw-r--r-- | lib/fuse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |