Subject: Re: statfs changes
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 04/16/2003 14:58:56
On Apr 16,  8:43pm, jdolecek@netbsd.org (Jaromir Dolecek) wrote:
-- Subject: Re: statfs changes

| Christos Zoulas wrote:
| > wrapper that deals with providing proper chrooted paths. Finally I
| > fixed a locking bug in vfs_getfsstat(). Please let me know what you think, 
| > because I am planning to commit the changes soon.
| 
| Cool, it's fine this would become centalized. Would it be possible to
| move the setup to generic code, i.e. do that automagically after
| VFS_MOUNT() call succeeds in sys_mount() ?

Unfortunately the the mntfromname is frobbed differently depending on
the mount. Sometimes it is in kernel space and it is being snprintf'ed
other times it is in user space from the mount args.

| Also a nit - please commit the getcwd_common() stuff separately
| (vfs_getcwd.c + filedesc.h).

Ok.

christos