]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nfs: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 08:01:49 +0000 (10:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:09 +0000 (17:42 +0200)
commit0096d39b9632706ca65a759a7024aef6b7833c6d
tree86b45572c61fb2f6c960bafeb69edb04448bbe17
parentbf96391e7b59a994c8aa72f5c425e3897ee799fa
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>
fs/nfs/mount_clnt.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs42xdr.c
fs/nfs/nfs4xdr.c