Re: [PATCH] nfsd: constify reply_cache_stats_operations structure

2016-11-08 Thread J. Bruce Fields
On Mon, Aug 29, 2016 at 06:57:47AM -0400, Jeff Layton wrote: > On Sun, 2016-08-28 at 22:36 +0200, Julia Lawall wrote: > > reply_cache_stats_operations, of type struct file_operations, is > > never > > modified, so declare it as const. > > > > Done with the help of Coccinelle. > > > > Signed-off-b

Re: [PATCH] nfsd: constify reply_cache_stats_operations structure

2016-08-29 Thread Jeff Layton
On Sun, 2016-08-28 at 22:36 +0200, Julia Lawall wrote: > reply_cache_stats_operations, of type struct file_operations, is > never > modified, so declare it as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- >  fs/nfsd/nfsctl.c |2 +- >  1 file changed, 1