cvs commit: src/sys/fs/fifofs fifo_vnops.c
Don Lewis
truckman at FreeBSD.org
Thu Jun 12 23:58:12 PDT 2003
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
More information about the cvs-all
mailing list