Whamcloud - gitweb
LU-6142 lustre: change super/file/inode operations to const
[fs/lustre-release.git] / lustre / lov / lov_pool.c
index f31a9a7..c5556c9 100644 (file)
@@ -223,11 +223,11 @@ static int pool_proc_open(struct inode *inode, struct file *file)
         return rc;
 }
 
-static struct file_operations pool_proc_operations = {
-        .open           = pool_proc_open,
-        .read           = seq_read,
-        .llseek         = seq_lseek,
-        .release        = seq_release,
+const static struct file_operations pool_proc_operations = {
+       .open           = pool_proc_open,
+       .read           = seq_read,
+       .llseek         = seq_lseek,
+       .release        = seq_release,
 };
 #endif /* CONFIG_PROC_FS */