]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: fix decoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 13:09:02 +0000 (15:09 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:16 +0000 (17:42 +0200)
commit18d9cff40010cb13cc57c36c982b273140b6b73e
treef273aaed2140356ab8fa3754a77c9c427e9b3317
parent1fa2339123f596d0c7608670d9052805a90e92ca
nfs: fix decoder callback prototypes

Declare the p_decode callbacks with the proper prototype instead of
casting to kxdrdproc_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