freebsd-nq/sys/fs
Poul-Henning Kamp 743312367a VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases
doesn't.  Most of the implementations have grown weeds for this so they
copy some fields from mnt_stat if the passed argument isn't that.

Fix this the cleaner way:  Always call the implementation on mnt_stat
and copy that in toto to the VFS_STATFS argument if different.
2004-12-05 22:41:02 +00:00
..
cd9660 VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
coda Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
deadfs Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
devfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
fdescfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
fifofs Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
hpfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
msdosfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
ntfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
nullfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
nwfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
portalfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
procfs Fix unvalidated pointer dereference. This is FreeBSD-SA-04:17.procfs. 2004-12-01 21:33:02 +00:00
pseudofs Back when VOP_* was introduced, we did not have new-style struct 2004-12-01 23:16:38 +00:00
smbfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
udf VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
umapfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00
unionfs VFS_STATFS(mp, ...) is mostly called with &mp->mnt_stat, but a few cases 2004-12-05 22:41:02 +00:00