X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=fs%2Fext4%2Fsymlink.c;h=e9178643dc01132b72a396b8099ad0cd8c3785c6;hb=95dfec6ae1cb8c03406aac612a5642cbddb676b3;hp=9e4c75f912f7640831d19043aa928065cd9d22b6;hpb=617ba13b31fbf505cc21799826639ef24ed94af0;p=linux-2.6 diff --git a/fs/ext4/symlink.c b/fs/ext4/symlink.c index 9e4c75f912..e9178643dc 100644 --- a/fs/ext4/symlink.c +++ b/fs/ext4/symlink.c @@ -18,9 +18,9 @@ */ #include -#include -#include +#include #include +#include "ext4.h" #include "xattr.h" static void * ext4_follow_link(struct dentry *dentry, struct nameidata *nd) @@ -30,7 +30,7 @@ static void * ext4_follow_link(struct dentry *dentry, struct nameidata *nd) return NULL; } -struct inode_operations ext4_symlink_inode_operations = { +const struct inode_operations ext4_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = page_follow_link_light, .put_link = page_put_link, @@ -42,7 +42,7 @@ struct inode_operations ext4_symlink_inode_operations = { #endif }; -struct inode_operations ext4_fast_symlink_inode_operations = { +const struct inode_operations ext4_fast_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = ext4_follow_link, #ifdef CONFIG_EXT4DEV_FS_XATTR