]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: lustre: obdclass: constify obd_psdev_fops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 28 Aug 2016 21:45:11 +0000 (23:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:29:21 +0000 (17:29 +0200)
commit495ea0d99355e550a120b706515d6be55d198ac2
tree6716807d8d2e1fff597a1a5b2ea6151e3bbed842
parentd6a80699bad7abb5c05860e3f021a34357a3b4c5
staging: lustre: obdclass: constify obd_psdev_fops structure

obd_psdev_fops, of type struct file_operations, 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c