[pnfs] [PATCH 3/4] Slot Table Implementation for pNFS

iyer at netapp.com iyer at netapp.com
Thu Mar 15 21:11:25 EDT 2007


From: Rahul Iyer <iyer at netapp.com>

Some code cleanup

Signed-off-by: Rahul Iyer <iyer at netapp.com>
---
 fs/nfs/nfs4proc.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 1d28a1a..67546f5 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2599,9 +2599,9 @@ static int _pnfs4_proc_write(struct nfs_write_data *wdata, struct rpc_clnt *clnt
 	dprintk("pNFS call  write %d @ %Ld\n", wdata->args.count,
 			(long long) wdata->args.offset);
 
-	if(status = _nfs41_proc_setup_sequence(session,
+	if((status = _nfs41_proc_setup_sequence(session,
 				wdata->args.minorversion_info,
-				wdata->res.minorversion_info))
+				wdata->res.minorversion_info)))
                 return status;
 
 	wdata->res.server = server;
@@ -4771,7 +4771,6 @@ EXPORT_SYMBOL(_nfs4_proc_destroy_session);
 int nfs4_proc_destroy_session(struct nfs4_client *clp)
 {
 	int status = 0;
-	struct rpc_message msg;
 
 	if (!clp || (!clp->cl_session)) {
 		printk(KERN_WARNING "%s called with NULL %s(session = %p, client = %p)\n", __FUNCTION__, ((!clp)?"client":"session"), clp->cl_session, clp);
-- 
1.5.0.2


More information about the pNFS mailing list