Date: Sat, 2 Nov 2002 12:16:55 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isofs/cd9660 cd9660_vfsops.c Message-ID: <200211022016.gA2KGtNo069415@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/11/02 12:16:55 PST
Modified files:
sys/isofs/cd9660 cd9660_vfsops.c
Log:
Unbreak MNT_UPDATE when running with cd as root. Detect mountroot by
checking for "path == NULL" (like ffs) rather than MNT_ROOT. Otherwise
when you try and do an update or mountd does an NFS export, the remount
fails because the code tries to mount a fresh rootfs and gets an EBUSY.
The same bug is in 4.x (which is where I found it).
Sanity check by: mux
Revision Changes Path
1.106 +1 -2 src/sys/isofs/cd9660/cd9660_vfsops.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211022016.gA2KGtNo069415>
