]> 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)
commitfee5a8180badb308b63d376f29141b9cd65a87b8
tree78a6c0070a2399dfb4bed74892082d40b5a0d003
parentd133a39fcabb288a10546d1c13ba45ab1e707088
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