diff options
Diffstat (limited to 'fs/ufs/symlink.c')
| -rw-r--r-- | fs/ufs/symlink.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/fs/ufs/symlink.c b/fs/ufs/symlink.c index 337512ed578..d283628b477 100644 --- a/fs/ufs/symlink.c +++ b/fs/ufs/symlink.c @@ -27,7 +27,10 @@ #include <linux/fs.h> #include <linux/namei.h> -#include <linux/ufs_fs.h> + +#include "ufs_fs.h" +#include "ufs.h" + static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) { @@ -36,7 +39,15 @@ static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) return NULL; } -struct inode_operations ufs_fast_symlink_inode_operations = { +const struct inode_operations ufs_fast_symlink_inode_operations = { .readlink = generic_readlink, .follow_link = ufs_follow_link, + .setattr = ufs_setattr, +}; + +const struct inode_operations ufs_symlink_inode_operations = { + .readlink = generic_readlink, + .follow_link = page_follow_link_light, + .put_link = page_put_link, + .setattr = ufs_setattr, }; |
