Re: [Xen-devel] [PATCH v2] cleancache: constify cleancache_ops structure

2016-01-21 Thread Konrad Rzeszutek Wilk
On Thu, Jan 21, 2016 at 04:47:29PM +0100, Julia Lawall wrote: > The cleancache_ops structure is never modified, so declare it as const. > > Done with the help of Coccinelle. I will pull it in my tree and sent it to Linus. Thanks! > > Signed-off-by: Julia Lawall > > --- > > v2: put back the r

[Xen-devel] [PATCH v2] cleancache: constify cleancache_ops structure

2016-01-21 Thread Julia Lawall
The cleancache_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: put back the read mostly drivers/xen/tmem.c |2 +- include/linux/cleancache.h |2 +- mm/cleancache.c|4 ++-- 3 files c