tout(cct) << name << std::endl;
// same xattrs supported by kernel client
- if (strncmp(name, "user.", 5) && strncmp(name, "security.", 9) && strncmp(name, "trusted.", 8))
+ if (strncmp(name, "user.", 5) &&
+ strncmp(name, "security.", 9) &&
+ strncmp(name, "trusted.", 8) &&
+ strncmp(name, "ceph.", 5))
return -EOPNOTSUPP;
Inode *in = _ll_get_inode(vino);
tout(cct) << vino.ino.val << std::endl;
tout(cct) << name << std::endl;
- // only user xattrs, for now
- if (strncmp(name, "user.", 5) && strncmp(name, "security.", 9) && strncmp(name, "trusted.", 8))
+ // same xattrs supported by kernel client
+ if (strncmp(name, "user.", 5) &&
+ strncmp(name, "security.", 9) &&
+ strncmp(name, "trusted.", 8) &&
+ strncmp(name, "ceph.", 5))
return -EOPNOTSUPP;
Inode *in = _ll_get_inode(vino);