From: Yan, Zheng Date: Sun, 7 Apr 2013 08:28:49 +0000 (+0800) Subject: ceph: fix symlink inode operations X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=baf0169b77f6a0c384a15fb425e5700fb0239e89;p=ceph-client.git ceph: fix symlink inode operations add getattr/setattr and xattrs related methods. Signed-off-by: Yan, Zheng Reviewed-by: Greg Farnum --- diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 5d730d424eef..d5cad38da500 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -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, }; /*