Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs return TMPFS_MAXNAMLEN instead of NAME_MAX
details: https://anonhg.NetBSD.org/src/rev/6b6471035f7f
branches: trunk
changeset: 769937:6b6471035f7f
user: christos <christos%NetBSD.org@localhost>
date: Tue Sep 27 01:32:21 2011 +0000
description:
return TMPFS_MAXNAMLEN instead of NAME_MAX
diffstat:
sys/fs/tmpfs/tmpfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 77faa82069ab -r 6b6471035f7f sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c Tue Sep 27 01:30:54 2011 +0000
+++ b/sys/fs/tmpfs/tmpfs_vnops.c Tue Sep 27 01:32:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vnops.c,v 1.91 2011/09/27 01:10:43 christos Exp $ */
+/* $NetBSD: tmpfs_vnops.c,v 1.92 2011/09/27 01:32:21 christos Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.91 2011/09/27 01:10:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.92 2011/09/27 01:32:21 christos Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -2373,7 +2373,7 @@
*retval = LINK_MAX;
break;
case _PC_NAME_MAX:
- *retval = NAME_MAX;
+ *retval = TMPFS_MAXNAMLEN;
break;
case _PC_PATH_MAX:
*retval = PATH_MAX;
Home |
Main Index |
Thread Index |
Old Index