]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: properly type op_func callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 18:58:35 +0000 (20:58 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:02 +0000 (15:58 -0400)
commit9ba5ca90fc154aa43c6ab287b08b411499de2d06
tree36c05d46c94b988dd1f76c84e33cc2fe765a576f
parent48d6c040cb916edba53029a738591e056ba550cc
nfsd4: properly type op_func callbacks

Pass union nfsd4_op_u to the op_func callbacks instead of using unsafe
function pointer casts.

It also adds two missing structures to struct nfsd4_op.u to facilitate
this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/xdr4.h