X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fext3%2Fsymlink.c;h=ff7b4ccd898383715e9db7348bd95e9ce4162cee;hb=d6817cdbd143f87f9d7c59a4c3194091190eeb84;hp=4f79122cde670558c39a6886623c7522286b9854;hpb=97c169a21bfb5bb2ab2bccd852da4f0d0e021c55;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