From d4bb8ac2b19440a611387cc5385ecefa3b5ff291 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 27 Sep 2011 01:48:57 +0000 Subject: [PATCH] don't get affected by the NAME_MAX bump. Use the same constant as the rest of the extrattr code. --- sys/fs/puffs/puffs_msgif.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/puffs/puffs_msgif.h b/sys/fs/puffs/puffs_msgif.h index f518e92eec13..a304c4e164ef 100644 --- a/sys/fs/puffs/puffs_msgif.h +++ b/sys/fs/puffs/puffs_msgif.h @@ -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))