From: Anna Schumaker <Anna.Schumaker@xxxxxxxxxx> The nfs4_call_sync() function creates a default rpc_task_setup structure that works for most, but not all, cases. We have some code duplication in functions that can't use nfs4_call_sync(), so these patches aim to help with that and make it easier to customize synchronous RPC calls in the future Anna. Anna Schumaker (6): NFS: Add an nfs4_call_sync_custom() function NFS: Have nfs4_proc_setclientid() call nfs4_call_sync_custom() NFS: Have _nfs4_proc_secinfo() call nfs4_call_sync_custom() NFS: Have nfs41_proc_reclaim_complete() call nfs4_call_sync_custom() NFS: Have nfs41_proc_secinfo_no_name() call nfs4_call_sync_custom() NFS: Have nfs4_proc_get_lease_time() call nfs4_call_sync_custom() fs/nfs/nfs4proc.c | 106 +++++++++++++++++++++++++--------------------- 1 file changed, 57 insertions(+), 49 deletions(-) -- 2.22.1