diff options
Diffstat (limited to 'fs/ufs/symlink.c')
| -rw-r--r-- | fs/ufs/symlink.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/fs/ufs/symlink.c b/fs/ufs/symlink.c index d8549f807e8..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) { @@ -39,4 +42,12 @@ static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) 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, }; |
