]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
lockd: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 07:34:04 +0000 (09:34 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:53 +0000 (15:57 -0400)
commitd16073389bb48a2caf7c62cd7089a2009c8717b8
tree3bed8f7de1081c2413e107b0a4a184ecd35d6789
parent8be9d07f0ca68a188ab448e5fad8ea5d7420f535
lockd: 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/lockd/clnt4xdr.c
fs/lockd/clntxdr.c
fs/lockd/mon.c