On Fri, Jun 02, 2006 at 06:25:36PM -0400, Craig Rodrigues wrote: +> On Fri, Jun 02, 2006 at 08:29:02PM +0000, Pawel Jakub Dawidek wrote: +> > pjd 2006-06-02 20:29:02 UTC +> > +> > FreeBSD src repository +> > +> > Modified files: +> > sys/kern vfs_mount.c +> > Log: +> > Fix a problem introduced in revision 1.220. On mount(2) failure, don't +> > forget to unbusy file system before its destruction. +> > +> > This fixes the following warning on mount failure: +> > +> > Mount point <X> had 1 dangling refs +> > +> > Tested by: wkoszek +> > +> > Revision Changes Path +> > 1.226 +6 -5 src/sys/kern/vfs_mount.c +> +> +> Does this problem fix the slight delay that you get when +> doing a mount or update mount with a bad mount option? +> +> For example: +> +> mount -u -o nonexistentopt /mymount
Yes, vfs_mount_destroy() waits 3 seconds if there is a dangling reference. Now there is no such reference when the function is called. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpEtNXFvKna4.pgp
Description: PGP signature