]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9b67c2eeb79e238a94bf0843873b94b3232349b
tree78a6c0070a2399dfb4bed74892082d40b5a0d003
parentbea01a50f1a8e4ed5e01b77b8fecbb17d28cf375
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