Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2004 22:41:03 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/devfs devfs_vfsops.c src/sys/fs/fdescfs fdesc_vfsops.c src/sys/fs/hpfs hpfs_vfsops.c src/sys/fs/msdosfs msdosfs_vfsops.c src/sys/fs/ntfs ntfs_vfsops.c src/sys/fs/nullfs...
Message-ID:  <200412052241.iB5Mf3x0022744@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2004-12-05 22:41:03 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/devfs         devfs_vfsops.c 
    sys/fs/fdescfs       fdesc_vfsops.c 
    sys/fs/hpfs          hpfs_vfsops.c 
    sys/fs/msdosfs       msdosfs_vfsops.c 
    sys/fs/ntfs          ntfs_vfsops.c 
    sys/fs/nullfs        null_vfsops.c 
    sys/fs/nwfs          nwfs_vfsops.c 
    sys/fs/portalfs      portal_vfsops.c 
    sys/fs/smbfs         smbfs_vfsops.c 
    sys/fs/udf           udf_vfsops.c 
    sys/fs/umapfs        umap_vfsops.c 
    sys/fs/unionfs       union_vfsops.c 
    sys/gnu/ext2fs       ext2_vfsops.c 
    sys/isofs/cd9660     cd9660_vfsops.c 
    sys/kern             vfs_mount.c 
    sys/nfs4client       nfs4_vfs_subs.c 
    sys/nfsclient        nfs_vfsops.c 
    sys/sys              mount.h 
    sys/ufs/ffs          ffs_vfsops.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.37      +0 -6      src/sys/fs/devfs/devfs_vfsops.c
  1.49      +0 -6      src/sys/fs/fdescfs/fdesc_vfsops.c
  1.43      +0 -6      src/sys/fs/hpfs/hpfs_vfsops.c
  1.133     +0 -6      src/sys/fs/msdosfs/msdosfs_vfsops.c
  1.69      +0 -6      src/sys/fs/ntfs/ntfs_vfsops.c
  1.67      +0 -5      src/sys/fs/nullfs/null_vfsops.c
  1.37      +0 -8      src/sys/fs/nwfs/nwfs_vfsops.c
  1.54      +0 -6      src/sys/fs/portalfs/portal_vfsops.c
  1.29      +0 -8      src/sys/fs/smbfs/smbfs_vfsops.c
  1.22      +0 -6      src/sys/fs/udf/udf_vfsops.c
  1.61      +0 -5      src/sys/fs/umapfs/umap_vfsops.c
  1.71      +0 -7      src/sys/fs/unionfs/union_vfsops.c
  1.135     +0 -7      src/sys/gnu/ext2fs/ext2_vfsops.c
  1.127     +0 -5      src/sys/isofs/cd9660/cd9660_vfsops.c
  1.159     +11 -0     src/sys/kern/vfs_mount.c
  1.3       +0 -6      src/sys/nfs4client/nfs4_vfs_subs.c
  1.163     +0 -5      src/sys/nfsclient/nfs_vfsops.c
  1.182     +3 -1      src/sys/sys/mount.h
  1.260     +0 -16     src/sys/ufs/ffs/ffs_vfsops.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412052241.iB5Mf3x0022744>