summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfs/nfsdport.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nfs/nfsdport.h')
-rw-r--r--sys/fs/nfs/nfsdport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfs/nfsdport.h b/sys/fs/nfs/nfsdport.h
index efa4b12..a20b554 100644
--- a/sys/fs/nfs/nfsdport.h
+++ b/sys/fs/nfs/nfsdport.h
@@ -88,7 +88,7 @@ struct nfsexstuff {
bcmp(&(f1)->fh_fid, &(f2)->fh_fid, sizeof(struct fid)) == 0)
#define NFSLOCKHASH(f) \
- (&nfslockhash[nfsrv_hashfh(f) % NFSLOCKHASHSIZE])
+ (&nfslockhash[nfsrv_hashfh(f) % nfsrv_lockhashsize])
#define NFSFPVNODE(f) ((struct vnode *)((f)->f_data))
#define NFSFPCRED(f) ((f)->f_cred)
OpenPOWER on IntegriCloud