]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfsd4: properly type op_get_currentstateid callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 18:37:33 +0000 (20:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:27 +0000 (17:42 +0200)
commit57832e7bd85a450e64dba19933d83b6577632066
tree4e4b3347afd4885ceb542397c2af216a9a996b1b
parentb60e985980948f65d9833e5be7adccb6df321368
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