kern - Clean up pipe filters
authorSamuel J. Greear <sjg@thesjg.com>
Fri, 6 Aug 2010 12:16:22 +0000 (12:16 +0000)
committerSamuel J. Greear <sjg@thesjg.com>
Fri, 6 Aug 2010 12:16:22 +0000 (12:16 +0000)
commit13b050b023254b9d3b9a943f185f5d6fb633a3d9
treedc7dd45aaa30290b158af47e836253e3aac0c088
parent4fbb9324edeff24d43606fa29c084e444637362a
kern - Clean up pipe filters

* Do not check ki_note, just issue the KNOTE and let kq sort it out.

* Remove an unmatched rel_mplock().

* Take the r and w tokens for the pipe in question before poking around for
  states and sizes.

* Reverse the pipe end that the write filter assumes it will receive, this
  matches the semantics of the previous .fo_poll implementation.
sys/kern/sys_pipe.c