freebsd-skq/sys/cddl/compat/opensolaris
Mateusz Guzik 8a08cec166 Create a dedicated function for ensuring that cdir and rdir are populated.
Previously several places were doing it on its own, partially
incorrectly (e.g. without the filedesc locked) or even actively harmful
by populating jdir or assigning rootvnode without vrefing it.

Reviewed by:	kib
2015-07-11 16:22:48 +00:00
..
kern Create a dedicated function for ensuring that cdir and rdir are populated. 2015-07-11 16:22:48 +00:00
rpc
sys Create a dedicated function for ensuring that cdir and rdir are populated. 2015-07-11 16:22:48 +00:00