procfs - Fix open() for procfs.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 24 Feb 2011 10:58:36 +0000 (11:58 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 24 Feb 2011 12:37:46 +0000 (13:37 +0100)
commit198c0ff23b7bcfe70a955eb8314628bfa05bc1dd
treea87fd4ee4f8f6a469c1a119a2109d0c10b4dd9d1
parentb4e1a5e7381a7fe02b6b74382ea2728472f889f2
procfs - Fix open() for procfs.

* PFIND() macro has been replaced with function pfs_pfind()
  which will hold a reference to the found proc via pfind()
  or on proc0 in the case no process is found.
* Fix a case where there was no PRELE() after a pfind()
sys/vfs/procfs/procfs.h
sys/vfs/procfs/procfs_subr.c
sys/vfs/procfs/procfs_vnops.c