Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/puffs don't get affected by the NAME_MAX bump. Use th...



details:   https://anonhg.NetBSD.org/src/rev/adb7b3604086
branches:  trunk
changeset: 769944:adb7b3604086
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 27 01:48:57 2011 +0000

description:
don't get affected by the NAME_MAX bump. Use the same constant as the
rest of the extrattr code.

diffstat:

 sys/fs/puffs/puffs_msgif.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b90eab4aff5c -r adb7b3604086 sys/fs/puffs/puffs_msgif.h
--- a/sys/fs/puffs/puffs_msgif.h        Tue Sep 27 01:45:04 2011 +0000
+++ b/sys/fs/puffs/puffs_msgif.h        Tue Sep 27 01:48:57 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_msgif.h,v 1.76 2011/07/04 08:07:30 manu Exp $    */
+/*     $NetBSD: puffs_msgif.h,v 1.77 2011/09/27 01:48:57 christos Exp $        */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -253,7 +253,7 @@
 #define PUFFS_MSG_MAXSIZE      2*MAXPHYS
 #define PUFFS_MSGSTRUCT_MAX    4096 /* approximate */
 
-#define PUFFS_EXTNAMELEN NAME_MAX /* currently same as EXTATTR_MAXNAMELEN */
+#define PUFFS_EXTNAMELEN KERNEL_NAME_MAX /* currently same as EXTATTR_MAXNAMELEN */
 
 #define PUFFS_TOMOVE(a,b) (MIN((a), b->pmp_msg_maxsize - PUFFS_MSGSTRUCT_MAX))
 



Home | Main Index | Thread Index | Old Index