Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/miscfs/procfs



Module Name:    src
Committed By:   jdolecek
Date:           Mon Feb  3 22:27:43 UTC 2003

Modified Files:
        src/sys/miscfs/procfs: procfs_subr.c

Log Message:
procfs_allocvp():
  * do not set *vpp unless successful, otherwise we'd trigger
    DIAGNOSTIC panic in lookup(9) on error return
  * on error, make sure to free malloc'ed memory and ungetnewvnode() the
    previously acquired vnode

this fixes panic on 'tail -f <file> &; ls -l /proc/$!/fd' reported by
Andrew Brown

fix reviewed by Christos Zoulas


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/sys/miscfs/procfs/procfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index