From 0b93267252ef5fe6c6d77e3013ed6a0d766352ad Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Sun, 7 Apr 2013 16:28:49 +0800 Subject: [PATCH] ceph: fix symlink inode operations add getattr/setattr and xattrs related methods. Signed-off-by: Yan, Zheng Reviewed-by: Greg Farnum --- fs/ceph/inode.c | 6 ++++++ 1 file changed, 6 insertions(+) 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, }; /* -- 2.7.4