Date: Thu, 12 Jun 2003 23:58:11 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c Message-ID: <200306130658.h5D6wBZe018852@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
truckman 2003/06/12 23:58:11 PDT FreeBSD src repository Modified files: sys/fs/fifofs fifo_vnops.c Log: Clean up the fifo_open() implementation: Restructure the error handling portion of the resource allocation code to eliminate duplicated code. Test for the O_NONBLOCK && fi_readers == 0 case before incrementing fi_writers and modifying the the socket flag to avoid having to undo these operations in this error case. Restructure and simplify the code that handles blocking opens. There should be no change to functionality. Revision Changes Path 1.88 +30 -45 src/sys/fs/fifofs/fifo_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306130658.h5D6wBZe018852>