aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-04-07 04:28:49 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:18:50 -0400
commit0b93267252ef5fe6c6d77e3013ed6a0d766352ad (patch)
tree165770fe46e7090a2336132724f9c25c473d84ac /fs
parenta84cd29335f4ca38ca8405c1636ee3876bb292b5 (diff)
ceph: fix symlink inode operations
add getattr/setattr and xattrs related methods. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Greg Farnum <greg@inktank.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/inode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c
index 1b173edc8083..be0f7e20d62e 100644
--- a/fs/ceph/inode.c
+++ b/fs/ceph/inode.c
@@ -1560,6 +1560,12 @@ static void *ceph_sym_follow_link(struct dentry *dentry, struct nameidata *nd)
1560static const struct inode_operations ceph_symlink_iops = { 1560static const struct inode_operations ceph_symlink_iops = {
1561 .readlink = generic_readlink, 1561 .readlink = generic_readlink,
1562 .follow_link = ceph_sym_follow_link, 1562 .follow_link = ceph_sym_follow_link,
1563 .setattr = ceph_setattr,
1564 .getattr = ceph_getattr,
1565 .setxattr = ceph_setxattr,
1566 .getxattr = ceph_getxattr,
1567 .listxattr = ceph_listxattr,
1568 .removexattr = ceph_removexattr,
1563}; 1569};
1564 1570
1565/* 1571/*