From owner-cvs-all@FreeBSD.ORG Sun Dec 5 22:41:03 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 768EA16A52E; Sun, 5 Dec 2004 22:41:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396FB43D5D; Sun, 5 Dec 2004 22:41:03 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB5Mf3WT022745; Sun, 5 Dec 2004 22:41:03 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB5Mf3x0022744; Sun, 5 Dec 2004 22:41:03 GMT (envelope-from phk) Message-Id: <200412052241.iB5Mf3x0022744@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 5 Dec 2004 22:41:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 22:41:03 -0000 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