Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113747 | Differences between
and this patch

Collapse All | Expand All

(-)/tmp/fuse.c.2.4.2 (+3 lines)
Lines 1656-1661 Link Here
1656
void fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd)
1656
void fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd)
1657
{
1657
{
1658
    fuse_session_process(f->se, cmd->buf, cmd->buflen, cmd->ch);
1658
    fuse_session_process(f->se, cmd->buf, cmd->buflen, cmd->ch);
1659
    free_cmd(cmd);
1659
}
1660
}
1660
1661
1661
int fuse_exited(struct fuse *f)
1662
int fuse_exited(struct fuse *f)
Lines 1693-1698 Link Here
1693
        int res = fuse_chan_receive(ch, cmd->buf, bufsize);
1694
        int res = fuse_chan_receive(ch, cmd->buf, bufsize);
1694
        if (res <= 0) {
1695
        if (res <= 0) {
1695
            free_cmd(cmd);
1696
            free_cmd(cmd);
1697
	    if (res == -1)
1698
		fuse_exit(f);
1696
            return NULL;
1699
            return NULL;
1697
        }
1700
        }
1698
        cmd->buflen = res;
1701
        cmd->buflen = res;

Return to bug 113747