Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294491
b: refs/heads/master
c: abd9669
h: refs/heads/master
i:
  294489: e468aa1
  294487: e5f10d8
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Feb 19, 2012
1 parent 8799e70 commit 965ecbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9937347a1ee6a67e450cc9e90750ce0b10abfe75
refs/heads/master: abd96698613eb27415e7028b6100be930920adc6
3 changes: 2 additions & 1 deletion trunk/fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ static struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_
clp->cl_rpcclient = ERR_PTR(-EINVAL);

clp->cl_proto = cl_init->proto;
clp->net = cl_init->net;
clp->net = get_net(cl_init->net);

#ifdef CONFIG_NFS_V4
err = nfs_get_cb_ident_idr(clp, cl_init->minorversion);
Expand Down Expand Up @@ -300,6 +300,7 @@ static void nfs_free_client(struct nfs_client *clp)

nfs4_deviceid_purge_client(clp);

put_net(clp->net);
kfree(clp->cl_hostname);
kfree(clp->server_scope);
kfree(clp);
Expand Down

0 comments on commit 965ecbc

Please sign in to comment.