diff options
Diffstat (limited to 'fs/jffs/inode-v23.c')
| -rw-r--r-- | fs/jffs/inode-v23.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c index 5a4519e834da..020cc097c539 100644 --- a/fs/jffs/inode-v23.c +++ b/fs/jffs/inode-v23.c | |||
| @@ -55,9 +55,9 @@ | |||
| 55 | static int jffs_remove(struct inode *dir, struct dentry *dentry, int type); | 55 | static int jffs_remove(struct inode *dir, struct dentry *dentry, int type); |
| 56 | 56 | ||
| 57 | static struct super_operations jffs_ops; | 57 | static struct super_operations jffs_ops; |
| 58 | static struct file_operations jffs_file_operations; | 58 | static const struct file_operations jffs_file_operations; |
| 59 | static struct inode_operations jffs_file_inode_operations; | 59 | static struct inode_operations jffs_file_inode_operations; |
| 60 | static struct file_operations jffs_dir_operations; | 60 | static const struct file_operations jffs_dir_operations; |
| 61 | static struct inode_operations jffs_dir_inode_operations; | 61 | static struct inode_operations jffs_dir_inode_operations; |
| 62 | static struct address_space_operations jffs_address_operations; | 62 | static struct address_space_operations jffs_address_operations; |
| 63 | 63 | ||
| @@ -1629,7 +1629,7 @@ static int jffs_fsync(struct file *f, struct dentry *d, int datasync) | |||
| 1629 | } | 1629 | } |
| 1630 | 1630 | ||
| 1631 | 1631 | ||
| 1632 | static struct file_operations jffs_file_operations = | 1632 | static const struct file_operations jffs_file_operations = |
| 1633 | { | 1633 | { |
| 1634 | .open = generic_file_open, | 1634 | .open = generic_file_open, |
| 1635 | .llseek = generic_file_llseek, | 1635 | .llseek = generic_file_llseek, |
| @@ -1649,7 +1649,7 @@ static struct inode_operations jffs_file_inode_operations = | |||
| 1649 | }; | 1649 | }; |
| 1650 | 1650 | ||
| 1651 | 1651 | ||
| 1652 | static struct file_operations jffs_dir_operations = | 1652 | static const struct file_operations jffs_dir_operations = |
| 1653 | { | 1653 | { |
| 1654 | .readdir = jffs_readdir, | 1654 | .readdir = jffs_readdir, |
| 1655 | }; | 1655 | }; |
