aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_loop_mt.c
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-10-04 21:04:18 -0700
committerNikolaus Rath <Nikolaus@rath.org>2016-10-04 21:06:15 -0700
commit2011551d3e1039e6e6460bfb16c367a0ba542b0a (patch)
treea09c4ed6f879d40dba255130b2a1c1f1b0334bf6 /lib/fuse_loop_mt.c
parent595f7c39069786981b2441bf8f369bcf833a2320 (diff)
parentee07bb2d2eff97bcff85f77b657e0186c24cafe2 (diff)
downloadlibfuse-2011551d3e1039e6e6460bfb16c367a0ba542b0a.tar.gz
Merge struct fuse_ll into struct fuse_session.
This merge merges struct fuse_ll into struct fuse_session. Since there is always a one-to-one correspondence between the two, there is little reason to keep them separate. By merging them, we save pointers and lines of code.
Diffstat (limited to 'lib/fuse_loop_mt.c')
-rw-r--r--lib/fuse_loop_mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuse_loop_mt.c b/lib/fuse_loop_mt.c
index c925cd7..e6e2263 100644
--- a/lib/fuse_loop_mt.c
+++ b/lib/fuse_loop_mt.c
@@ -265,13 +265,13 @@ static int fuse_loop_start_thread(struct fuse_mt *mt)
w->mt = mt;
w->ch = NULL;
- if (mt->se->f->clone_fd) {
+ if (mt->se->clone_fd) {
w->ch = fuse_clone_chan(mt);
if(!w->ch) {
/* Don't attempt this again */
fprintf(stderr, "fuse: trying to continue "
"without -o clone_fd.\n");
- mt->se->f->clone_fd = 0;
+ mt->se->clone_fd = 0;
}
}