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