]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 12:47:53 +0000 (14:47 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:10 +0000 (17:42 +0200)
commit1502c81b443d70f2e3009aef96428ffa94e2e29d
tree47e460b161eac2fac2dcf6d7142a4ec1f4dfe88e
parent0096d39b9632706ca65a759a7024aef6b7833c6d
nfsd: 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>
fs/nfsd/nfs4callback.c