On 2020/11/14 3:40, Patrick Donnelly wrote:
On Tue, Nov 10, 2020 at 5:29 PM <xiubli@xxxxxxxxxx> wrote:
[...]
static struct ceph_vxattr *ceph_inode_vxattrs(struct inode *inode)
{
if (S_ISDIR(inode->i_mode))
@@ -429,6 +464,13 @@ static struct ceph_vxattr *ceph_match_vxattr(struct inode *inode,
}
}
+ vxattr = ceph_common_vxattrs;
+ while (vxattr->name) {
+ if (!strcmp(vxattr->name, name))
+ return vxattr;
+ vxattr++;
+ }
+
return NULL;
}
Please also be sure to wire up the same vxattrs in the userspace Client.
Sure, will do.
Thanks.