Always call VFS_STATFS() on mp->mnt_stat when we have mounted a filesystem,

this way individual filesystems don't have to do it.
This commit is contained in:
phk 2004-12-06 19:53:32 +00:00
parent 535ed5b0e2
commit 40bf35ba61

View File

@ -761,6 +761,7 @@ vfs_domount(
if (mp->mnt_opt != NULL)
vfs_freeopts(mp->mnt_opt);
mp->mnt_opt = mp->mnt_optnew;
VFS_STATFS(mp, &mp->mnt_stat, td);
}
/*
* Prevent external consumers of mount options from reading