Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/coda use CODA_MAXNAMLEN instead of bogus MAXNAMLEN
details: https://anonhg.NetBSD.org/src/rev/29e75622751b
branches: trunk
changeset: 769920:29e75622751b
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 27 00:54:47 2011 +0000
description:
use CODA_MAXNAMLEN instead of bogus MAXNAMLEN
diffstat:
sys/coda/coda_vfsops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2d5735f40f1f -r 29e75622751b sys/coda/coda_vfsops.c
--- a/sys/coda/coda_vfsops.c Tue Sep 27 00:52:55 2011 +0000
+++ b/sys/coda/coda_vfsops.c Tue Sep 27 00:54:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coda_vfsops.c,v 1.69 2009/06/29 05:08:15 dholland Exp $ */
+/* $NetBSD: coda_vfsops.c,v 1.70 2011/09/27 00:54:47 christos Exp $ */
/*
*
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.69 2009/06/29 05:08:15 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.70 2011/09/27 00:54:47 christos Exp $");
#ifndef _KERNEL_OPT
#define NVCODA 4
@@ -257,7 +257,7 @@
vfsp->mnt_stat.f_fsidx.__fsid_val[0] = 0;
vfsp->mnt_stat.f_fsidx.__fsid_val[1] = makefstype(MOUNT_CODA);
vfsp->mnt_stat.f_fsid = vfsp->mnt_stat.f_fsidx.__fsid_val[0];
- vfsp->mnt_stat.f_namemax = MAXNAMLEN;
+ vfsp->mnt_stat.f_namemax = CODA_MAXNAMLEN;
mi->mi_vfsp = vfsp;
/*
Home |
Main Index |
Thread Index |
Old Index