mountd changed?

Rink Springer
2006-10-15T08:40:02Z

Hi,

On Sun, Oct 15, 2006 at 11:30:23PM +0800, Lin Jui-Nan Eric
wrote:
> Hi,
>
> If I revert to revision 1.81.2.4, it worked correctly.
>
> On 10/15/06, Rink Springer <rink@freebsd.org> wrote:
> >Hi,
> >
> >Hmm, I recently changed something which might trigger this. Could you
> >back out revision 1.81.2.5 of src/usr.sbin/mountd/mountd.c and let me
> >know whether this fixed the problem?
> >

OK, could you try the attached patch (untested) and let me know whether
it works? (it patches the 1.81.2.5 revision of mountd.c)

--
Rink P.W. Springer                                - http://rink.nu
"Patience is for those who cannot afford
 decent hardware."                                - Peter Koeleman
-------------- next part --------------
--- mountd.c.org	Thu Sep 21 10:07:57 2006
+++ mountd.c	Thu Sep 21 10:08:42 2006
@@ -1912,7 +1912,7 @@
 		iov[5].iov_base = fsb->f_mntfromname; /* "from" */
 		iov[5].iov_len = strlen(fsb->f_mntfromname) + 1;

-		while (nmount(iov, iovlen, fsb->f_flags) < 0) {
+		while (nmount(iov, iovlen, fsb->f_flags | MNT_UPDATE) < 0) {
 			if (cp)
 				*cp-- = savedc;
 			else