From: Yan, Zheng Date: Sun, 7 Apr 2013 08:28:49 +0000 (+0800) Subject: ceph: fix symlink inode operations X-Git-Tag: v3.12-rc1~575^2~136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b93267252ef5fe6c6d77e3013ed6a0d766352ad;p=kernel%2Fkernel-generic.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 1b173ed..be0f7e2 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) 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, }; /*