summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-06-28 20:06:47 +0000
committeriedowse <iedowse@FreeBSD.org>2002-06-28 20:06:47 +0000
commit792737cf4d98d3af06c2946642a2cf3409e03e1b (patch)
treebae8117b476354108de4855889b02267fea89758 /sys/netgraph
parent3d67b562831b016305d6434fbec32de963646692 (diff)
downloadFreeBSD-src-792737cf4d98d3af06c2946642a2cf3409e03e1b.zip
FreeBSD-src-792737cf4d98d3af06c2946642a2cf3409e03e1b.tar.gz
In vn_mkdir(), use vrele() instead of vput() on the parent directory
vnode in the case that the target exists and is the same vnode as the parent (i.e. "mkdir ."). The namei() call does not leave the vnode locked in this case even though you might expect it to. This bug was mostly harmless in practice because unlocking an already unlocked vnode currently does not trigger any panics or warnings. Reviewed by: jeff
Diffstat (limited to 'sys/netgraph')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud