]> git.karo-electronics.de Git - linux-beck.git/commit
lockd: constify nlmsvc_binding structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 23 Dec 2015 21:25:13 +0000 (22:25 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 7 Jan 2016 15:10:50 +0000 (10:10 -0500)
commit2a297450dd188a5d4e5e428c189b2de54f9073ba
tree0316c3948ed5bc4ae5a40a1340cec60e0b516337
parentea44463f376236a0541288cb8d575ab6b50370d2
lockd: constify nlmsvc_binding structure

The nlmsvc_binding structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c
fs/nfsd/lockd.c
include/linux/lockd/bind.h