summaryrefslogtreecommitdiff
path: root/fs/orangefs/symlink.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2016-03-14 22:30:03 +0300
committerMike Marshall <hubcap@omnibond.com>2016-03-14 22:48:28 +0300
commita7d3e78ab53ff479fee3ad5a674a74c54c337b3b (patch)
treed634b9d79bb81e575b717d8e7fe7ca053e9478c6 /fs/orangefs/symlink.c
parent53f57fef43f5b9586c7a78acdeae27e206eae48b (diff)
downloadlinux-a7d3e78ab53ff479fee3ad5a674a74c54c337b3b.tar.xz
Orangefs: follow_link -> get_link change
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/symlink.c')
-rw-r--r--fs/orangefs/symlink.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/orangefs/symlink.c b/fs/orangefs/symlink.c
index 2b8541a7fc43..6418dd638680 100644
--- a/fs/orangefs/symlink.c
+++ b/fs/orangefs/symlink.c
@@ -8,22 +8,9 @@
#include "orangefs-kernel.h"
#include "orangefs-bufmap.h"
-static const char *orangefs_follow_link(struct dentry *dentry, void **cookie)
-{
- char *target = ORANGEFS_I(dentry->d_inode)->link_target;
-
- gossip_debug(GOSSIP_INODE_DEBUG,
- "%s: called on %s (target is %p)\n",
- __func__, (char *)dentry->d_name.name, target);
-
- *cookie = target;
-
- return target;
-}
-
struct inode_operations orangefs_symlink_inode_operations = {
.readlink = generic_readlink,
- .follow_link = orangefs_follow_link,
+ .get_link = simple_get_link,
.setattr = orangefs_setattr,
.getattr = orangefs_getattr,
.listxattr = orangefs_listxattr,