2005-03-08 06:07:21

by NeilBrown

[permalink] [raw]
Subject: [PATCH kNFSd 30 of 54] nfsd4: remove incorrect kfree from callback



Remove incorrect kfree.

Signed-off-by: J. Bruce Fields <[email protected]>
Signed-off-by: Neil Brown <[email protected]>

### Diffstat output
./fs/nfsd/nfs4callback.c | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)

diff ./fs/nfsd/nfs4callback.c~current~ ./fs/nfsd/nfs4callback.c
--- ./fs/nfsd/nfs4callback.c~current~ 2005-03-07 11:35:59.000000000 +1100
+++ ./fs/nfsd/nfs4callback.c 2005-03-07 11:35:59.000000000 +1100
@@ -561,7 +561,7 @@ nfsd4_cb_recall(struct nfs4_delegation *
clnt = clp->cl_callback.cb_client;
status = EIO;
if ((!atomic_read(&clp->cl_callback.cb_set)) || !clnt)
- goto out_free;
+ goto out_fail;

msg.rpc_argp = cbr;
msg.rpc_resp = cbr;
@@ -580,7 +580,5 @@ out:
return status;
out_fail:
status = nfserrno(status);
- out_free:
- kfree(cbr);
goto out;
}


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs