remaining = ret;
while (remaining) {
- if ((ret = xattr_foreach(&it->it,
- &find_xattr_handlers, &remaining)) >= 0)
+ ret = xattr_foreach(&it->it, &find_xattr_handlers, &remaining);
+ if (ret >= 0)
break;
}
xattr_iter_end(&it->it, true);
it->it.blkaddr = blkaddr;
}
- if ((ret = xattr_foreach(&it->it,
- &find_xattr_handlers, NULL)) >= 0)
+ ret = xattr_foreach(&it->it, &find_xattr_handlers, NULL);
+ if (ret >= 0)
break;
}
if (vi->xattr_shared_count)
remaining = ret;
while (remaining) {
- if ((ret = xattr_foreach(&it->it,
- &list_xattr_handlers, &remaining)) < 0)
+ ret = xattr_foreach(&it->it, &list_xattr_handlers, &remaining);
+ if (ret < 0)
break;
}
xattr_iter_end(&it->it, true);
it->it.blkaddr = blkaddr;
}
- if ((ret = xattr_foreach(&it->it,
- &list_xattr_handlers, NULL)) < 0)
+ ret = xattr_foreach(&it->it, &list_xattr_handlers, NULL);
+ if (ret < 0)
break;
}
if (vi->xattr_shared_count)