From f932e4e7f553e8ba4e6125a39681b70e62f50af2 Mon Sep 17 00:00:00 2001 From: Pavel Filipensky Date: Sun, 6 Jun 2010 13:20:55 +0200 Subject: 6930814 share/unshare issues 6931194 exportfs() uses exportinfo_t after dropping exported_lock and without doing exi_count++ 6836258 exportinfo 16-way hash is too small 6953045 Put implementation of the Pearson's hashing algorithm into a separate file --- usr/src/uts/common/nfs/nfs4_idmap_impl.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'usr/src/uts/common/nfs/nfs4_idmap_impl.h') diff --git a/usr/src/uts/common/nfs/nfs4_idmap_impl.h b/usr/src/uts/common/nfs/nfs4_idmap_impl.h index 344e98213a..f0f166688d 100644 --- a/usr/src/uts/common/nfs/nfs4_idmap_impl.h +++ b/usr/src/uts/common/nfs/nfs4_idmap_impl.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,17 +19,15 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. */ #ifndef _NFS4_IDMAP_IMPL_H #define _NFS4_IDMAP_IMPL_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include +#include /* * This is a private header file. Applications should not directly include @@ -44,7 +41,7 @@ extern "C" { /* * Cache Entry Definitions */ -#define NFSID_CACHE_ANCHORS 256 +#define NFSID_CACHE_ANCHORS PKP_HASH_SIZE typedef struct nfsidmap { struct nfsidmap *id_chain[2]; /* must be first */ -- cgit v1.2.3