URI: 
       t9pfuse: ignore write errors on fusefd - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 6f61477d2607eb7df816aae3e2e94fb1697554c8
   DIR parent 77fb6ec71369e500bab001a328c5363181980d6f
  HTML Author: Russ Cox <rsc@swtch.com>
       Date:   Thu, 24 Jul 2008 07:59:58 -0700
       
       9pfuse: ignore write errors on fusefd
       
       FUSE makes a reply write fail if the reply is no
       longer wanted.
       
       Diffstat:
         M src/cmd/9pfuse/fuse.c               |       6 ++----
       
       1 file changed, 2 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/src/cmd/9pfuse/fuse.c b/src/cmd/9pfuse/fuse.c
       t@@ -241,8 +241,7 @@ replyfuse(FuseMsg *m, void *arg, int narg)
                        vec[1].iov_len = narg;
                        nvec++;
                }
       -        if(writev(fusefd, vec, nvec) < 0)
       -                sysfatal("replyfuse: %r");
       +        writev(fusefd, vec, nvec);
                freefusemsg(m);
        }
        
       t@@ -259,8 +258,7 @@ replyfuseerrno(FuseMsg *m, int e)
                hdr.unique = m->hdr->unique;
                if(debug)
                        fprint(2, "FUSE <- %#G\n", m->hdr, &hdr, 0);
       -        if(write(fusefd, &hdr, sizeof hdr) < 0)
       -                sysfatal("replyfuseerror: %r");
       +        write(fusefd, &hdr, sizeof hdr);
                freefusemsg(m);
        }