nfsd4: properly type op_set_currentstateid callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 18:03:15 +0000 (20:03 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:01 +0000 (15:58 -0400)
commit6c9600a71d9c00a49e6a915b228f3f0b542a6067
tree78a6c0070a2399dfb4bed74892082d40b5a0d003
parent408b3d46ae06e1d219f31cbe629789a5e5c862aa
nfsd4: properly type op_set_currentstateid callbacks

Given the args union in struct nfsd4_op a name, and pass it to the
op_set_currentstateid callbacks instead of using unsafe function
pointer casts.

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