Submit #2122 » 0023-Populate-the-statfs-structure-associated-to-mount-po.patch
sys/vfs/hammer/hammer_vfsops.c | ||
---|---|---|
vflush(mp, 0, 0);
|
||
done:
|
||
if ((mp->mnt_flag & MNT_UPDATE) == 0) {
|
||
/* New mount */
|
||
/* Populate info for mount point (NULL pad)*/
|
||
bzero(mp->mnt_stat.f_mntonname, MNAMELEN);
|
||
size_t size;
|
||
if (mntpt) {
|
||
copyinstr(mntpt, mp->mnt_stat.f_mntonname,
|
||
MNAMELEN -1, &size);
|
||
}
|
||
}
|
||
(void)VFS_STATFS(mp, &mp->mnt_stat, cred);
|
||
hammer_rel_volume(rootvol, 0);
|
||
failed:
|
||
/*
|