Submit #2122 » 0008-Fix-a-bug-in-nullfs_mount.patch
sys/vfs/nullfs/null_vfsops.c | ||
---|---|---|
NULLFSDEBUG("nullfs_mount: lower %s, alias at %s\n",
|
||
mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntfromname);
|
||
/* nullfs_statfs doesn't populate f_mntonname */
|
||
bzero(mp->mnt_stat.f_mntonname, MNAMELEN);
|
||
if (path != NULL) {
|
||
(void) copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN - 1,
|
||
&size);
|
||
}
|
||
/*
|
||
* Set NCALIASED so unmount won't complain about namecache refs
|
||
* still existing.
|