]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 12:47:53 +0000 (14:47 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:54 +0000 (15:57 -0400)
commit02fdcc7cedd8447840dd09e09df47031dbe4b1b6
tree545fb1469e372f080c8e44086e62fe27314a43ef
parentec8ab614a2fdbe561a87ee763c0d5a74aa05ed03
nfsd: 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>
fs/nfsd/nfs4callback.c