tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: factoring out the change_root() and making exporting change_{root,dir}() as interface
On Wed, Jul 29, 2009 at 06:14:45PM +0300, Elad Efrat wrote:
>> > -static int
>> > +int
>> > change_dir(struct nameidata *ndp, struct lwp *l)
>> > {
>>
>> Is it feasible to adjust this to pass a vnode instead of nameidata?
>
> Does change_dir() change directory?
Heh, apparently not. Rather (as it exists) it should have a path
passed in and a vnode passed out, and should have its name
changed.
And it doesn't make sense as a public interface, either. :-|
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index