[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/47040 CVS commit: [netbsd-5] src/sys
The following reply was made to PR kern/47040; it has been noted by GNATS.
From: "Jeff Rizzo" <riz%netbsd.org@localhost>
Subject: PR/47040 CVS commit: [netbsd-5] src/sys
Date: Tue, 6 Nov 2012 20:02:47 +0000
Module Name: src
Committed By: riz
Date: Tue Nov 6 20:02:47 UTC 2012
src/sys/kern [netbsd-5]: vfs_lookup.c
src/sys/miscfs/genfs [netbsd-5]: layer_vnops.c
Pull up following revision(s) (requested by dholland in ticket #1814):
sys/kern/vfs_lookup.c: revision 1.195
sys/miscfs/genfs/layer_vnops.c: revision 1.51
In layer_lookup(), clear *vpp before returning EROFS, as otherwise a
stale value can be returned and this causes a diagnostic panic in
In relookup(), clear *vpp before calling VOP_LOOKUP, as is done in
lookup_once(), as an additional precautionary measure.
(in theory both of these fixes are not required together)
Should fix PR 47040.
To generate a diff of this commit:
cvs rdiff -u -r188.8.131.52 -r184.108.40.206 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.35 -r220.127.116.11 src/sys/miscfs/genfs/layer_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |