nfsd4: const-ify nfsd4_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 21:46:47 +0000 (23:46 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:32 +0000 (17:42 +0200)
commitbb2a8b0cd116219777b99cb71fe9e24b31d3f521
tree94bd2b3746f948c4c487365354b5eb0d4a4d9786
parente9679189e34b25a1b9aa77fe37d331559d1544af
nfsd4: const-ify nfsd4_ops

nfsd4_ops contains function pointers, and marking it as constant avoids
it being able to be used as an attach vector for code injections.

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