diff options
Diffstat (limited to 'fs/hfs/inode.c')
| -rw-r--r-- | fs/hfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index 2c564701724f..2d4ced22201b 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #include "hfs_fs.h" | 17 | #include "hfs_fs.h" |
| 18 | #include "btree.h" | 18 | #include "btree.h" |
| 19 | 19 | ||
| 20 | static struct file_operations hfs_file_operations; | 20 | static const struct file_operations hfs_file_operations; |
| 21 | static struct inode_operations hfs_file_inode_operations; | 21 | static struct inode_operations hfs_file_inode_operations; |
| 22 | 22 | ||
| 23 | /*================ Variable-like macros ================*/ | 23 | /*================ Variable-like macros ================*/ |
| @@ -601,7 +601,7 @@ int hfs_inode_setattr(struct dentry *dentry, struct iattr * attr) | |||
| 601 | } | 601 | } |
| 602 | 602 | ||
| 603 | 603 | ||
| 604 | static struct file_operations hfs_file_operations = { | 604 | static const struct file_operations hfs_file_operations = { |
| 605 | .llseek = generic_file_llseek, | 605 | .llseek = generic_file_llseek, |
| 606 | .read = generic_file_read, | 606 | .read = generic_file_read, |
| 607 | .write = generic_file_write, | 607 | .write = generic_file_write, |
