]> 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)
commit23056559d936391b9b5cfa29082b550e8f28f379
tree545fb1469e372f080c8e44086e62fe27314a43ef
parentf7a37368c536b76ae17d9ee6ef9bf4fcfd7f5c7b
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