X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fext2%2Fsymlink.c;h=4e2426e22bbe6377d6f853d9fed196afdd9971cf;hb=49e70dda359660f20fa21d03bfae132e15c78195;hp=1e67d87cfa913b58c648a586235816350481fed5;hpb=3ec8a773d2775db86cc21d28b77bea29c8a1ea3c;p=mv-sheeva.git diff --git a/fs/ext2/symlink.c b/fs/ext2/symlink.c index 1e67d87cfa9..4e2426e22bb 100644 --- a/fs/ext2/symlink.c +++ b/fs/ext2/symlink.c @@ -28,7 +28,7 @@ static void *ext2_follow_link(struct dentry *dentry, struct nameidata *nd) return NULL; } -struct inode_operations ext2_symlink_inode_operations = { +const struct inode_operations ext2_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = page_follow_link_light, .put_link = page_put_link, @@ -40,7 +40,7 @@ struct inode_operations ext2_symlink_inode_operations = { #endif }; -struct inode_operations ext2_fast_symlink_inode_operations = { +const struct inode_operations ext2_fast_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = ext2_follow_link, #ifdef CONFIG_EXT2_FS_XATTR