]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: fix decoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 13:09:02 +0000 (15:09 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:56 +0000 (15:57 -0400)
commitcaae3827eb9fbe667348bbc819d53af5cb4476d6
treeb07b5c7cbf6b849d535b5369aa16c372f8f438a8
parent97cc25b86a5b73e30852a13e5f90437551c5d1f0
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