2 * (C) 2001 Clemson University and The University of Chicago
4 * See COPYING in top-level directory.
8 #include "pvfs2-kernel.h"
9 #include "pvfs2-bufmap.h"
11 static const char *orangefs_follow_link(struct dentry
*dentry
, void **cookie
)
13 char *target
= ORANGEFS_I(dentry
->d_inode
)->link_target
;
15 gossip_debug(GOSSIP_INODE_DEBUG
,
16 "%s: called on %s (target is %p)\n",
17 __func__
, (char *)dentry
->d_name
.name
, target
);
24 struct inode_operations orangefs_symlink_inode_operations
= {
25 .readlink
= generic_readlink
,
26 .follow_link
= orangefs_follow_link
,
27 .setattr
= orangefs_setattr
,
28 .getattr
= orangefs_getattr
,
29 .listxattr
= orangefs_listxattr
,
30 .setxattr
= generic_setxattr
,