]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit72edc37a2c7a30a4bc64889a4eaa8bfd3d308a3a
tree36c05d46c94b988dd1f76c84e33cc2fe765a576f
parent62bbf8bbb2fa3aba16e29585b3396264c1a2b2f4
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