diff options
Diffstat (limited to 'fs/romfs/inode.c')
| -rw-r--r-- | fs/romfs/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/romfs/inode.c b/fs/romfs/inode.c index 283fbc6b8eea..ddcd9e1ef282 100644 --- a/fs/romfs/inode.c +++ b/fs/romfs/inode.c | |||
| @@ -459,7 +459,7 @@ err_out: | |||
| 459 | 459 | ||
| 460 | /* Mapping from our types to the kernel */ | 460 | /* Mapping from our types to the kernel */ |
| 461 | 461 | ||
| 462 | static struct address_space_operations romfs_aops = { | 462 | static const struct address_space_operations romfs_aops = { |
| 463 | .readpage = romfs_readpage | 463 | .readpage = romfs_readpage |
| 464 | }; | 464 | }; |
| 465 | 465 | ||
| @@ -589,8 +589,7 @@ static int init_inodecache(void) | |||
| 589 | 589 | ||
| 590 | static void destroy_inodecache(void) | 590 | static void destroy_inodecache(void) |
| 591 | { | 591 | { |
| 592 | if (kmem_cache_destroy(romfs_inode_cachep)) | 592 | kmem_cache_destroy(romfs_inode_cachep); |
| 593 | printk(KERN_INFO "romfs_inode_cache: not all structures were freed\n"); | ||
| 594 | } | 593 | } |
| 595 | 594 | ||
| 596 | static int romfs_remount(struct super_block *sb, int *flags, char *data) | 595 | static int romfs_remount(struct super_block *sb, int *flags, char *data) |
