]> 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)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:29 +0000 (17:42 +0200)
commiteb69853da9459280d89876cfc3da11292e59f7af
treee7f761d184d688e8a5ab912b8c3b2d779c4d4d76
parent1c1226385b44c1f66dafb3c56b68455ee565dbbf
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