diff options
Diffstat (limited to 'lib/fuse_loop.c')
-rw-r--r-- | lib/fuse_loop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/fuse_loop.c b/lib/fuse_loop.c index 6df4a62..4a85b13 100644 --- a/lib/fuse_loop.c +++ b/lib/fuse_loop.c @@ -2,6 +2,8 @@ FUSE: Filesystem in Userspace Copyright (C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu> + Implementation of the single-threaded FUSE session loop. + This program can be distributed under the terms of the GNU LGPLv2. See the file COPYING.LIB */ @@ -17,20 +19,19 @@ int fuse_session_loop(struct fuse_session *se) { int res = 0; - struct fuse_chan *ch = fuse_session_chan(se); struct fuse_buf fbuf = { .mem = NULL, }; while (!fuse_session_exited(se)) { - res = fuse_session_receive_buf_int(se, &fbuf, ch); + res = fuse_session_receive_buf_int(se, &fbuf, NULL); if (res == -EINTR) continue; if (res <= 0) break; - fuse_session_process_buf_int(se, &fbuf, ch); + fuse_session_process_buf_int(se, &fbuf, NULL); } free(fbuf.mem); |