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:
parent
535ed5b0e2
commit
40bf35ba61
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user