diff options
| author | Krishna Srinivas <ksriniva@redhat.com> | 2012-02-20 14:34:39 +0530 | 
|---|---|---|
| committer | Vijay Bellur <vijay@gluster.com> | 2012-02-20 07:26:51 -0800 | 
| commit | ed2036979499cb272336187c06955aa5e484023d (patch) | |
| tree | a2173280ad5753aa4d674e86e6ed66bcdcd6f973 /xlators/nfs/server/src/nfs3.c | |
| parent | db20a0f8a99f715a77366e518720612f043d5c9e (diff) | |
NLM - Network Lock Manger V4
Change-Id: Ic31b8bb10a28408da2a623f4ecc0c60af01c64af
BUG: 795421
Signed-off-by: Krishna Srinivas <ksriniva@redhat.com>
Reviewed-on: http://review.gluster.com/2711
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs3.c')
| -rw-r--r-- | xlators/nfs/server/src/nfs3.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c index 527101de2..1cb8d07e6 100644 --- a/xlators/nfs/server/src/nfs3.c +++ b/xlators/nfs/server/src/nfs3.c @@ -450,6 +450,8 @@ nfs3_call_state_wipe (nfs3_call_state_t *cs)                  iobuf_unref (cs->iob);          if (cs->iobref)                  iobref_unref (cs->iobref); +        if (cs->trans) +                rpc_transport_unref (cs->trans);          memset (cs, 0, sizeof (*cs));          mem_put (cs);          /* Already refd by fd_lookup, so no need to ref again. */ @@ -5483,6 +5485,7 @@ nfs3_init_state (xlator_t *nfsx)                  goto free_localpool;          } +        nfs->nfs3state = nfs3;          ret = 0;  free_localpool:  | 
