X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Framfs%2Finode.c;h=4ace5d72eae16498a1a2f942f92907655e1258e6;hb=e63340ae6b6205fef26b40a75673d1c9c0c8bb90;hp=7a96b1d662a2f439dd02631bc2e0b8e02bc21b21;hpb=c5ef1c42c51b1b5b4a401a6517bdda30933ddbaf;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index 7a96b1d..4ace5d7 100644 --- a/fs/ramfs/inode.c +++ b/fs/ramfs/inode.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include @@ -40,7 +39,7 @@ /* some random number */ #define RAMFS_MAGIC 0x858458f6 -static struct super_operations ramfs_ops; +static const struct super_operations ramfs_ops; static const struct inode_operations ramfs_dir_inode_operations; static struct backing_dev_info ramfs_backing_dev_info = { @@ -155,7 +154,7 @@ static const struct inode_operations ramfs_dir_inode_operations = { .rename = simple_rename, }; -static struct super_operations ramfs_ops = { +static const struct super_operations ramfs_ops = { .statfs = simple_statfs, .drop_inode = generic_delete_inode, };