diff options
author | phk <phk@FreeBSD.org> | 2004-12-06 19:53:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-06 19:53:32 +0000 |
commit | 40bf35ba611b5e3f4941493cd187a2536bafc4bc (patch) | |
tree | 555136f36a36eebeac07beaea4d87957ccbdd647 | |
parent | 535ed5b0e2c263dbbaa5d51fa02837565a5d6023 (diff) | |
download | FreeBSD-src-40bf35ba611b5e3f4941493cd187a2536bafc4bc.zip FreeBSD-src-40bf35ba611b5e3f4941493cd187a2536bafc4bc.tar.gz |
Always call VFS_STATFS() on mp->mnt_stat when we have mounted a filesystem,
this way individual filesystems don't have to do it.
-rw-r--r-- | sys/kern/vfs_mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 8a8dac7..bce3da1 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -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 |