]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cleancache: constify cleancache_ops structure
authorJulia Lawall <julia.lawall@lip6.fr>
Thu, 21 Jan 2016 15:47:29 +0000 (16:47 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 May 2016 20:34:43 +0000 (22:34 +0200)
commit1be6ab4613d0f94b33ec416f6782b47b44368050
tree5dd2ea0ce32ee2a00b6265224fd1fa4e1c043baa
parentd8bab50ca72a3087faae4c44096d7ad28afb0ec5
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>
(cherry picked from commit b3c6de492b9ea30a8dcc535d4dc2eaaf0bb3f116)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/xen/tmem.c
include/linux/cleancache.h
mm/cleancache.c