[PATCH] Make most file operations structs in fs/ const
[deliverable/linux.git] / fs / hfs / inode.c
index 2c564701724f9fdd0266bcfe08f1cfa364c18f32..2d4ced22201ba18d3b8e81eb5b1860d63011897b 100644 (file)
@@ -17,7 +17,7 @@
 #include "hfs_fs.h"
 #include "btree.h"
 
-static struct file_operations hfs_file_operations;
+static const struct file_operations hfs_file_operations;
 static struct inode_operations hfs_file_inode_operations;
 
 /*================ Variable-like macros ================*/
@@ -601,7 +601,7 @@ int hfs_inode_setattr(struct dentry *dentry, struct iattr * attr)
 }
 
 
-static struct file_operations hfs_file_operations = {
+static const struct file_operations hfs_file_operations = {
        .llseek         = generic_file_llseek,
        .read           = generic_file_read,
        .write          = generic_file_write,
This page took 0.024635 seconds and 5 git commands to generate.