Module Name: src
Committed By: yamt
Date: Mon May 4 11:41:48 UTC 2009
Modified Files:
src/sbin/mount: mount.c
Log Message:
disable automatic mountd reloading for now because it makes the service
temporary unavailable. PR/41331 from FUKAUMI Naoki.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sbin/mount/mount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/mount/mount.c
diff -u src/sbin/mount/mount.c:1.88 src/sbin/mount/mount.c:1.89
--- src/sbin/mount/mount.c:1.88 Sun Jan 11 20:39:34 2009
+++ src/sbin/mount/mount.c Mon May 4 11:41:48 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.c,v 1.88 2009/01/11 20:39:34 pooka Exp $ */
+/* $NetBSD: mount.c,v 1.89 2009/05/04 11:41:48 yamt Exp $ */
/*
* Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
#else
-__RCSID("$NetBSD: mount.c,v 1.88 2009/01/11 20:39:34 pooka Exp $");
+__RCSID("$NetBSD: mount.c,v 1.89 2009/05/04 11:41:48 yamt Exp $");
#endif
#endif /* not lint */
@@ -99,7 +99,9 @@
const char *mntfromname, *mntonname, **vfslist, *vfstype;
struct fstab *fs;
struct statvfs *mntbuf;
+#if 0
FILE *mountdfp;
+#endif
int all, ch, forceall, i, init_flags, mntsize, rval;
char *options;
const char *mountopts, *fstypename;
@@ -301,6 +303,7 @@
/* NOTREACHED */
}
+#if 0 /* disabled because it interferes the service. */
/*
* If the mount was successfully, and done by root, tell mountd the
* good news. Pid checks are probably unnecessary, but don't hurt.
@@ -314,6 +317,7 @@
err(1, "signal mountd");
(void)fclose(mountdfp);
}
+#endif
exit(rval);
/* NOTREACHED */