From owner-cvs-all Thu Jul 26 13:37:41 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CEE4337B408; Thu, 26 Jul 2001 13:37:33 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6QKbXF32796; Thu, 26 Jul 2001 13:37:33 -0700 (PDT) (envelope-from iedowse) Message-Id: <200107262037.f6QKbXF32796@freefall.freebsd.org> From: Ian Dowse Date: Thu, 26 Jul 2001 13:37:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/coda coda_vfsops.c src/sys/fs/hpfs hpfs_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/gnu/ext2fs ext2_vfsops.c src/sys/isofs/cd9660 cd9660_vfsops.c src/sys/kern vfs_subr.c src/sys/miscfs/fdesc fdesc_vfsops.c ... X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/07/26 13:37:33 PDT Modified files: (Branch: RELENG_4) sys/coda coda_vfsops.c sys/fs/hpfs hpfs_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/gnu/ext2fs ext2_vfsops.c sys/isofs/cd9660 cd9660_vfsops.c sys/kern vfs_subr.c sys/miscfs/fdesc fdesc_vfsops.c sys/miscfs/kernfs kernfs_vfsops.c sys/miscfs/nullfs null_vfsops.c sys/miscfs/portal portal_vfsops.c sys/miscfs/umapfs umap_vfsops.c sys/miscfs/union union_vfsops.c sys/msdosfs msdosfs_vfsops.c sys/nfs nfs_vfsops.c sys/ntfs ntfs_vfsops.c sys/nwfs nwfs_vfsops.c sys/ufs/ffs ffs_vfsops.c sys/sys vnode.h Log: MFC: Change the interface to vflush() so that it can deal with extra references on the filesystem root vnode. This fixes bugs in a number of filesystems that could cause forced umounts to erroneously return EBUSY, and it centralises a lot of xxx_unmount logic. This unfortunately requires the recompilation of any filesystem KLDs, although I have added an extra sanity check that should help to avoid panics if old modules are used (the filesystem may refuse to umount, and if so, a warning message will appear on the console). Not objected to by: -stable Revision Changes Path 1.24.2.1 +2 -2 src/sys/coda/coda_vfsops.c 1.3.2.1 +2 -2 src/sys/fs/hpfs/hpfs_vfsops.c 1.2.2.2 +3 -16 src/sys/fs/smbfs/smbfs_vfsops.c 1.63.2.2 +3 -3 src/sys/gnu/ext2fs/ext2_vfsops.c 1.74.2.5 +2 -2 src/sys/isofs/cd9660/cd9660_vfsops.c 1.249.2.10 +52 -12 src/sys/kern/vfs_subr.c 1.22.2.1 +5 -13 src/sys/miscfs/fdesc/Attic/fdesc_vfsops.c 1.35.2.1 +3 -16 src/sys/miscfs/kernfs/Attic/kernfs_vfsops.c 1.35.2.3 +3 -24 src/sys/miscfs/nullfs/Attic/null_vfsops.c 1.26.2.2 +3 -13 src/sys/miscfs/portal/Attic/portal_vfsops.c 1.31.2.1 +3 -16 src/sys/miscfs/umapfs/Attic/umap_vfsops.c 1.39.2.1 +5 -22 src/sys/miscfs/union/Attic/union_vfsops.c 1.60.2.3 +3 -3 src/sys/msdosfs/Attic/msdosfs_vfsops.c 1.91.2.2 +5 -29 src/sys/nfs/nfs_vfsops.c 1.20.2.1 +4 -4 src/sys/ntfs/Attic/ntfs_vfsops.c 1.6.2.5 +4 -23 src/sys/nwfs/Attic/nwfs_vfsops.c 1.117.2.3 +3 -3 src/sys/ufs/ffs/ffs_vfsops.c 1.111.2.11 +2 -2 src/sys/sys/vnode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message