lockd: fix decoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 13:06:20 +0000 (15:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:15 +0000 (17:42 +0200)
commit1fa2339123f596d0c7608670d9052805a90e92ca
treec177d0809838ffdbde1c1788ff0fa0f25ef1bf7d
parentd39916c48771597a3213758b6dc508b6b82083e4
lockd: 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/lockd/clnt4xdr.c
fs/lockd/clntxdr.c
fs/lockd/mon.c