From d519ec55e761793e3a18b177f78a203c41ea82cb Mon Sep 17 00:00:00 2001 From: Yanchuan Nian Date: Mon, 24 Dec 2012 18:11:27 +0800 Subject: [PATCH] --- yaml --- r: 359701 b: refs/heads/master c: 74b70dded311fa0e6e7529514b29bbb8e6bb1f3e h: refs/heads/master i: 359699: 4f534a9578770140d169df7581e5a3c13d1c63c3 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4state.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b8ae6186e626..ade4c082c3e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 84822d0b3bc5a74a4290727dd1ab4fc7dcd6a348 +refs/heads/master: 74b70dded311fa0e6e7529514b29bbb8e6bb1f3e diff --git a/trunk/fs/nfsd/nfs4state.c b/trunk/fs/nfsd/nfs4state.c index ac8ed96c4199..29924a04cf3d 100644 --- a/trunk/fs/nfsd/nfs4state.c +++ b/trunk/fs/nfsd/nfs4state.c @@ -905,7 +905,7 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fchan, new = __alloc_session(slotsize, numslots); if (!new) { - nfsd4_put_drc_mem(slotsize, fchan->maxreqs); + nfsd4_put_drc_mem(slotsize, numslots); return NULL; } init_forechannel_attrs(&new->se_fchannel, fchan, numslots, slotsize, nn);