2 * (C) 2001 Clemson University and The University of Chicago
4 * See COPYING in top-level directory.
8 #include "orangefs-kernel.h"
9 #include "orangefs-bufmap.h"
11 static const char *orangefs_get_link(struct dentry *dentry, struct inode *inode,
12 struct delayed_call *done)
17 return ERR_PTR(-ECHILD);
19 target = ORANGEFS_I(dentry->d_inode)->link_target;
21 gossip_debug(GOSSIP_INODE_DEBUG,
22 "%s: called on %s (target is %p)\n",
23 __func__, (char *)dentry->d_name.name, target);
28 struct inode_operations orangefs_symlink_inode_operations = {
29 .readlink = generic_readlink,
30 .get_link = orangefs_get_link,
31 .setattr = orangefs_setattr,
32 .getattr = orangefs_getattr,
33 .listxattr = orangefs_listxattr,
34 .setxattr = generic_setxattr,
35 .permission = orangefs_permission,