between fusermount and mount trying to modify /etc/mtab at the
same time
+ * Fix "buffer size too small: 4" warning for users of the
+ fuse_loop_mt_proc() function.
+
2006-12-04 Miklos Szeredi <miklos@szeredi.hu>
* Fix warnings with gcc-4.1 on 64bit archs. Report from
struct fuse_cmd *cmd = *(struct fuse_cmd **) buf;
(void) len;
- cmd->ch = ch;
+ (void) ch;
pd->proc(pd->f, cmd, pd->data);
}
return sizeof(cmd);
}
-static int mt_chan_send(struct fuse_chan *ch, const struct iovec iov[],
- size_t count)
-{
- struct procdata *pd = (struct procdata *) fuse_chan_data(ch);
- return fuse_chan_send(pd->prevch, iov, count);
-}
-
int fuse_loop_mt_proc(struct fuse *f, fuse_processor_t proc, void *data)
{
int res;
};
struct fuse_chan_ops cop = {
.receive = mt_chan_receive,
- .send = mt_chan_send,
};
pd.f = f;