]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 08:01:49 +0000 (10:01 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:53 +0000 (15:57 -0400)
commitf7a37368c536b76ae17d9ee6ef9bf4fcfd7f5c7b
tree4528a016dbd53ced3b57d2e0309511709c1fc78f
parent61526ebd6545ac1659c97e9894c7043b4c3410cc
nfs: 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/nfs/mount_clnt.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs42xdr.c
fs/nfs/nfs4xdr.c