nfsd4: properly type op_get_currentstateid callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 18:37:33 +0000 (20:37 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:01 +0000 (15:58 -0400)
commitc2a1102aa2add2f6757586541fc9c22d9b71bdf3
tree548507c93b8b14e5db1f2fe9221189c6386681f3
parent6c9600a71d9c00a49e6a915b228f3f0b542a6067
nfsd4: properly type op_get_currentstateid callbacks

Pass union nfsd4_op_u 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