]> git.baikalelectronics.ru Git - kernel.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)
commite55bfb1449b938dc49f9e8a405f01a0f3c8282e9
tree3bed8f7de1081c2413e107b0a4a184ecd35d6789
parenta59f312686fd3fb81c72320f117c2b8d1aab003a
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