hfsplus_attr_exists
int hfsplus_attr_exists(struct inode *inode, const char *name);
if (hfsplus_attr_exists(inode, name)) {
is_all_xattrs_deleted = !hfsplus_attr_exists(inode, NULL);