Re: [PATCH 23/32] sunrpc: properly type pc_encode callbacks

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

 



On Tue, 2017-05-09 at 11:20 +0200, Christoph Hellwig wrote:
> Drop the resp argument as it can trivially be derived from the rqstp
> argument.  With that all functions now have the same prototype, and
> we
> can remove the unsafe casting to kxdrproc_t.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
>  fs/lockd/svc4proc.c        |  2 +-
>  fs/lockd/svcproc.c         |  2 +-
>  fs/lockd/xdr.c             | 14 ++++++---
>  fs/lockd/xdr4.c            | 14 ++++++---
>  fs/nfs/callback_xdr.c      |  6 ++--
>  fs/nfsd/nfs2acl.c          | 18 ++++++-----
>  fs/nfsd/nfs3acl.c          | 11 +++----
>  fs/nfsd/nfs3proc.c         | 44 +++++++++++++--------------
>  fs/nfsd/nfs3xdr.c          | 74 +++++++++++++++++++++++++++---------
> ----------
>  fs/nfsd/nfs4proc.c         |  4 +--
>  fs/nfsd/nfs4xdr.c          |  5 ++--
>  fs/nfsd/nfsproc.c          | 36 +++++++++++-----------
>  fs/nfsd/nfssvc.c           |  5 +---
>  fs/nfsd/nfsxdr.c           | 31 +++++++++++--------
>  fs/nfsd/xdr.h              | 14 ++++-----
>  fs/nfsd/xdr3.h             | 45 ++++++++++------------------
>  fs/nfsd/xdr4.h             |  5 ++--
>  include/linux/lockd/xdr.h  |  8 ++---
>  include/linux/lockd/xdr4.h |  8 ++---
>  include/linux/sunrpc/svc.h |  3 +-
>  net/sunrpc/svc.c           |  6 ++--
>  21 files changed, 185 insertions(+), 170 deletions(-)
> 

Acked-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>

-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@xxxxxxxxxxxxxxx

Linux NFS client maintainer, PrimaryData
trond.myklebust@xxxxxxxxxxxxxxx
��.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