const: constify remaining file_operations
[linux-2.6-block.git] / fs / nilfs2 / file.c
index 7d7b4983dee3d631c22456d0c2d6581bf4239b9c..30292df443cea081b6b4c94690f41aaf8cad01ec 100644 (file)
@@ -134,7 +134,7 @@ static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma)
  * We have mostly NULL's here: the current defaults are ok for
  * the nilfs filesystem.
  */
-struct file_operations nilfs_file_operations = {
+const struct file_operations nilfs_file_operations = {
        .llseek         = generic_file_llseek,
        .read           = do_sync_read,
        .write          = do_sync_write,