X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fext3%2Fsymlink.c;h=ff7b4ccd898383715e9db7348bd95e9ce4162cee;hb=b72e9ebe7efa5754aa53bbdb0040a2d6eeb34db3;hp=4f79122cde670558c39a6886623c7522286b9854;hpb=7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c;p=linux-2.6 diff --git a/fs/ext3/symlink.c b/fs/ext3/symlink.c index 4f79122cde..ff7b4ccd89 100644 --- a/fs/ext3/symlink.c +++ b/fs/ext3/symlink.c @@ -30,7 +30,7 @@ static void * ext3_follow_link(struct dentry *dentry, struct nameidata *nd) return NULL; } -struct inode_operations ext3_symlink_inode_operations = { +const struct inode_operations ext3_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = page_follow_link_light, .put_link = page_put_link, @@ -42,7 +42,7 @@ struct inode_operations ext3_symlink_inode_operations = { #endif }; -struct inode_operations ext3_fast_symlink_inode_operations = { +const struct inode_operations ext3_fast_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = ext3_follow_link, #ifdef CONFIG_EXT3_FS_XATTR