nfs: fix encoder callback prototypes
Declare the p_encode callbacks with the proper prototype instead of casting to kxdreproc_t and losing all type safety. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Jeff Layton <jlayton@redhat.com> Acked-by:
Trond Myklebust <trond.myklebust@primarydata.com>
Showing
- fs/nfs/mount_clnt.c 5 additions, 5 deletionsfs/nfs/mount_clnt.c
- fs/nfs/nfs2xdr.c 36 additions, 13 deletionsfs/nfs/nfs2xdr.c
- fs/nfs/nfs3xdr.c 60 additions, 23 deletionsfs/nfs/nfs3xdr.c
- fs/nfs/nfs42xdr.c 20 additions, 14 deletionsfs/nfs/nfs42xdr.c
- fs/nfs/nfs4xdr.c 121 additions, 67 deletionsfs/nfs/nfs4xdr.c
Loading
Please register or sign in to comment