diff options
Diffstat (limited to 'kernel/fs/jfs/symlink.c')
-rw-r--r-- | kernel/fs/jfs/symlink.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/kernel/fs/jfs/symlink.c b/kernel/fs/jfs/symlink.c index 80f42bcc4..5929e2363 100644 --- a/kernel/fs/jfs/symlink.c +++ b/kernel/fs/jfs/symlink.c @@ -17,21 +17,13 @@ */ #include <linux/fs.h> -#include <linux/namei.h> #include "jfs_incore.h" #include "jfs_inode.h" #include "jfs_xattr.h" -static void *jfs_follow_link(struct dentry *dentry, struct nameidata *nd) -{ - char *s = JFS_IP(d_inode(dentry))->i_inline; - nd_set_link(nd, s); - return NULL; -} - const struct inode_operations jfs_fast_symlink_inode_operations = { .readlink = generic_readlink, - .follow_link = jfs_follow_link, + .follow_link = simple_follow_link, .setattr = jfs_setattr, .setxattr = jfs_setxattr, .getxattr = jfs_getxattr, |