Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern copy_statvfs_info(): copy f_namemax too



details:   https://anonhg.NetBSD.org/src/rev/7610c8eda04a
branches:  trunk
changeset: 569924:7610c8eda04a
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 13 19:45:21 2004 +0000

description:
copy_statvfs_info(): copy f_namemax too

diffstat:

 sys/kern/vfs_subr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7d2bbdbedb64 -r 7610c8eda04a sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c       Mon Sep 13 19:25:48 2004 +0000
+++ b/sys/kern/vfs_subr.c       Mon Sep 13 19:45:21 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_subr.c,v 1.232 2004/08/15 07:19:54 mycroft Exp $   */
+/*     $NetBSD: vfs_subr.c,v 1.233 2004/09/13 19:45:21 jdolecek Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.232 2004/08/15 07:19:54 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.233 2004/09/13 19:45:21 jdolecek Exp $");
 
 #include "opt_inet.h"
 #include "opt_ddb.h"
@@ -2992,6 +2992,7 @@
            sizeof(sbp->f_mntonname));
        (void)memcpy(sbp->f_mntfromname, mp->mnt_stat.f_mntfromname,
            sizeof(sbp->f_mntfromname));
+       sbp->f_namemax = mbp->f_namemax;
 }
 
 int



Home | Main Index | Thread Index | Old Index