]> git.baikalelectronics.ru Git - kernel.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)
commitc0c70cbabc44a926fcc85895d285c5adf1cbebfd
treef7d419f1601419aa0aebda102a6b14bdf7653443
parent7677b78b35f26517d1ac44757ff44fbc468122ab
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