]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/xen/tmem.c
cleancache: constify cleancache_ops structure
authorJulia Lawall <julia.lawall@lip6.fr>
Thu, 21 Jan 2016 15:47:29 +0000 (16:47 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 27 Jan 2016 14:09:57 +0000 (09:09 -0500)
commitb3c6de492b9ea30a8dcc535d4dc2eaaf0bb3f116
tree66aa2045b592d7cdcf0006bc64e2786398e7615d
parentafd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
cleancache: constify cleancache_ops structure

The cleancache_ops 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: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/tmem.c
include/linux/cleancache.h
mm/cleancache.c