]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ceph: fix symlink inode operations
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 7 Apr 2013 08:28:49 +0000 (16:28 +0800)
committerGreg Farnum <greg@inktank.com>
Wed, 17 Apr 2013 22:50:11 +0000 (15:50 -0700)
add getattr/setattr and xattrs related methods.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
fs/ceph/inode.c

index 5d730d424eeff50f410a9d998d6aaddd1fbb019f..d5cad38da500638aa56764b682568a4bf1aa9c0f 100644 (file)
@@ -1523,6 +1523,12 @@ static void *ceph_sym_follow_link(struct dentry *dentry, struct nameidata *nd)
 static const struct inode_operations ceph_symlink_iops = {
        .readlink = generic_readlink,
        .follow_link = ceph_sym_follow_link,
+       .setattr = ceph_setattr,
+       .getattr = ceph_getattr,
+       .setxattr = ceph_setxattr,
+       .getxattr = ceph_getxattr,
+       .listxattr = ceph_listxattr,
+       .removexattr = ceph_removexattr,
 };
 
 /*