diff options
Diffstat (limited to 'fs/hpfs')
-rw-r--r-- | fs/hpfs/file.c | 2 | ||||
-rw-r--r-- | fs/hpfs/hpfs_fn.h | 4 | ||||
-rw-r--r-- | fs/hpfs/namei.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index d3b9fffe45a1..d9eb19b7b8ae 100644 --- a/fs/hpfs/file.c +++ b/fs/hpfs/file.c | |||
@@ -99,7 +99,7 @@ static sector_t _hpfs_bmap(struct address_space *mapping, sector_t block) | |||
99 | { | 99 | { |
100 | return generic_block_bmap(mapping,block,hpfs_get_block); | 100 | return generic_block_bmap(mapping,block,hpfs_get_block); |
101 | } | 101 | } |
102 | struct address_space_operations hpfs_aops = { | 102 | const struct address_space_operations hpfs_aops = { |
103 | .readpage = hpfs_readpage, | 103 | .readpage = hpfs_readpage, |
104 | .writepage = hpfs_writepage, | 104 | .writepage = hpfs_writepage, |
105 | .sync_page = block_sync_page, | 105 | .sync_page = block_sync_page, |
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h index 29b7a3e55173..f687d54ed442 100644 --- a/fs/hpfs/hpfs_fn.h +++ b/fs/hpfs/hpfs_fn.h | |||
@@ -268,7 +268,7 @@ void hpfs_set_ea(struct inode *, struct fnode *, char *, char *, int); | |||
268 | int hpfs_file_fsync(struct file *, struct dentry *, int); | 268 | int hpfs_file_fsync(struct file *, struct dentry *, int); |
269 | extern const struct file_operations hpfs_file_ops; | 269 | extern const struct file_operations hpfs_file_ops; |
270 | extern struct inode_operations hpfs_file_iops; | 270 | extern struct inode_operations hpfs_file_iops; |
271 | extern struct address_space_operations hpfs_aops; | 271 | extern const struct address_space_operations hpfs_aops; |
272 | 272 | ||
273 | /* inode.c */ | 273 | /* inode.c */ |
274 | 274 | ||
@@ -304,7 +304,7 @@ void hpfs_decide_conv(struct inode *, unsigned char *, unsigned); | |||
304 | /* namei.c */ | 304 | /* namei.c */ |
305 | 305 | ||
306 | extern struct inode_operations hpfs_dir_iops; | 306 | extern struct inode_operations hpfs_dir_iops; |
307 | extern struct address_space_operations hpfs_symlink_aops; | 307 | extern const struct address_space_operations hpfs_symlink_aops; |
308 | 308 | ||
309 | static inline struct hpfs_inode_info *hpfs_i(struct inode *inode) | 309 | static inline struct hpfs_inode_info *hpfs_i(struct inode *inode) |
310 | { | 310 | { |
diff --git a/fs/hpfs/namei.c b/fs/hpfs/namei.c index a03abb12c610..59e7dc182a0c 100644 --- a/fs/hpfs/namei.c +++ b/fs/hpfs/namei.c | |||
@@ -538,7 +538,7 @@ fail: | |||
538 | return err; | 538 | return err; |
539 | } | 539 | } |
540 | 540 | ||
541 | struct address_space_operations hpfs_symlink_aops = { | 541 | const struct address_space_operations hpfs_symlink_aops = { |
542 | .readpage = hpfs_symlink_readpage | 542 | .readpage = hpfs_symlink_readpage |
543 | }; | 543 | }; |
544 | 544 | ||