Module Name: src
Committed By: christos
Date: Tue Sep 27 01:48:58 UTC 2011
Modified Files:
src/sys/fs/puffs: puffs_msgif.h
Log Message:
don't get affected by the NAME_MAX bump. Use the same constant as the
rest of the extrattr code.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/puffs/puffs_msgif.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/fs/puffs/puffs_msgif.h
diff -u src/sys/fs/puffs/puffs_msgif.h:1.76 src/sys/fs/puffs/puffs_msgif.h:1.77
--- src/sys/fs/puffs/puffs_msgif.h:1.76 Mon Jul 4 04:07:30 2011
+++ src/sys/fs/puffs/puffs_msgif.h Mon Sep 26 21:48:57 2011
@@ -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 @@ struct puffs_kcred {
#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))