]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
lockd: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 07:34:04 +0000 (09:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:09 +0000 (17:42 +0200)
commitbf96391e7b59a994c8aa72f5c425e3897ee799fa
tree8d9c18080cef2cf4c569ff50dddbe23fc07e58ac
parent7d55f7febab6af865630ccb3a0fac9a144c459df
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