Re: [PATCH Version 4 01/10] NFS default callback ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On May 17, 2016, at 4:17 PM, Schumaker, Anna <Anna.Schumaker@xxxxxxxxxx> wrote:
> 
> Hi Andy,
> 
> I think you're missing a word or two from the title of this patch.  I'm guessing it should say "rename default callback ops”?

Yes.

—>Andy
> 
> Anna
> 
> On 05/11/2016 03:08 PM, andros@xxxxxxxxxx wrote:
>> From: Andy Adamson <andros@xxxxxxxxxx>
>> 
>> Also use with refactored exchange_id for session trunking
>> 
>> Signed-off-by: Andy Adamson <andros@xxxxxxxxxx>
>> ---
>> fs/nfs/nfs4proc.c | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>> 
>> diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
>> index 327b8c3..da2aa2e 100644
>> --- a/fs/nfs/nfs4proc.c
>> +++ b/fs/nfs/nfs4proc.c
>> @@ -6784,12 +6784,12 @@ nfs41_same_server_scope(struct nfs41_server_scope *a,
>> }
>> 
>> static void
>> -nfs4_bind_one_conn_to_session_done(struct rpc_task *task, void *calldata)
>> +nfs4_proc_default_done(struct rpc_task *task, void *calldata)
>> {
>> }
>> 
>> -static const struct rpc_call_ops nfs4_bind_one_conn_to_session_ops = {
>> -	.rpc_call_done =  &nfs4_bind_one_conn_to_session_done,
>> +static const struct rpc_call_ops nfs4_proc_default_ops = {
>> +	.rpc_call_done =  &nfs4_proc_default_done,
>> };
>> 
>> /*
>> @@ -6820,7 +6820,7 @@ int nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt,
>> 	struct rpc_task_setup task_setup_data = {
>> 		.rpc_client = clnt,
>> 		.rpc_xprt = xprt,
>> -		.callback_ops = &nfs4_bind_one_conn_to_session_ops,
>> +		.callback_ops = &nfs4_proc_default_ops,
>> 		.rpc_message = &msg,
>> 		.flags = RPC_TASK_TIMEOUT,
>> 	};
>> 
> 

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux