From: "Myklebust, Trond" Subject: Re: [PATCH 02/47] sunrpc: add cl_private field to struct rpc_clnt Date: Fri, 27 Mar 2009 20:39:28 -0400 Message-ID: References: <49CC40E5.2080506@panasas.com> <1238122908-6967-1-git-send-email-bhalevy@panasas.com> <20090328000552.GJ18222@fieldses.org> Mime-Version: 1.0 (iPhone Mail 5H11) Content-Type: text/plain; format=flowed; delsp=yes; charset="us-ascii" Cc: "Benny Halevy" , , , "Andy Adamson" , "Trond Myklebust" To: "J. Bruce Fields" Return-path: Received: from mx2.netapp.com ([216.240.18.37]:33200 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbZC1Aj6 (ORCPT ); Fri, 27 Mar 2009 20:39:58 -0400 In-Reply-To: <20090328000552.GJ18222@fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mar 27, 2009, at 8:06 PM, "J. Bruce Fields" wrote: > On Fri, Mar 27, 2009 at 06:01:48AM +0300, Benny Halevy wrote: >> From: Andy Adamson >> >> Note: the NFSv4.1 client also uses (and declares) this pointer. > > OK. Ack from trond? First, someone would need to remind me why it is necessary, and add that justification to the changelog. Trond > > > --b. > >> Signed-off-by: Andy Adamson >> Signed-off-by: Benny Halevy >> --- >> include/linux/sunrpc/clnt.h | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/ >> clnt.h >> index c39a210..928c547 100644 >> --- a/include/linux/sunrpc/clnt.h >> +++ b/include/linux/sunrpc/clnt.h >> @@ -53,6 +53,7 @@ struct rpc_clnt { >> char cl_pathname[30];/* Path in rpc_pipe_fs */ >> struct vfsmount * cl_vfsmnt; >> struct dentry * cl_dentry; /* inode */ >> + void *cl_private; /* private data */ >> struct rpc_clnt * cl_parent; /* Points to parent of clones >> */ >> struct rpc_rtt cl_rtt_default; >> struct rpc_timeout cl_timeout_default; >> -- >> 1.6.2.1 >>