]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd4: const-ify nfsd4_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 21:46:47 +0000 (23:46 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:03 +0000 (15:58 -0400)
commit800222f80fedca63baf05d28028a0d18e9b8d7a5
treef7d419f1601419aa0aebda102a6b14bdf7653443
parentaa8217d5dcb1db594d816794ef6ab434ebf3e127
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