Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/udf return UDF_MAXNAMLEN instead of NAME_MAX



details:   https://anonhg.NetBSD.org/src/rev/97e53dd6d48a
branches:  trunk
changeset: 769938:97e53dd6d48a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 27 01:33:30 2011 +0000

description:
return UDF_MAXNAMLEN instead of NAME_MAX

diffstat:

 sys/fs/udf/udf_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6b6471035f7f -r 97e53dd6d48a sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c    Tue Sep 27 01:32:21 2011 +0000
+++ b/sys/fs/udf/udf_vnops.c    Tue Sep 27 01:33:30 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.66 2011/06/12 03:35:55 rmind Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.67 2011/09/27 01:33:30 christos Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.66 2011/06/12 03:35:55 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.67 2011/09/27 01:33:30 christos Exp $");
 #endif /* not lint */
 
 
@@ -1218,7 +1218,7 @@
                *ap->a_retval = (1<<16)-1;      /* 16 bits */
                return 0;
        case _PC_NAME_MAX:
-               *ap->a_retval = NAME_MAX;
+               *ap->a_retval = UDF_MAXNAMLEN;
                return 0;
        case _PC_PATH_MAX:
                *ap->a_retval = PATH_MAX;



Home | Main Index | Thread Index | Old Index