0008-Fix-a-bug-in-nullfs_mount.patch
| b/sys/vfs/nullfs/null_vfsops.c | ||
|---|---|---|
| 194 | 194 |
NULLFSDEBUG("nullfs_mount: lower %s, alias at %s\n",
|
| 195 | 195 |
mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntfromname); |
| 196 | 196 | |
| 197 |
/* nullfs_statfs doesn't populate f_mntonname */ |
|
| 198 |
bzero(mp->mnt_stat.f_mntonname, MNAMELEN); |
|
| 199 |
if (path != NULL) {
|
|
| 200 |
(void) copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN - 1, |
|
| 201 |
&size); |
|
| 202 |
} |
|
| 203 | ||
| 197 | 204 |
/* |
| 198 | 205 |
* Set NCALIASED so unmount won't complain about namecache refs |
| 199 | 206 |
* still existing. |
| 200 |
- |
|