#include "commands.h"
#include "qgroup.h"
#include "utils.h"
+#include "help.h"
static const char * const qgroup_cmd_group_usage[] = {
"btrfs qgroup <command> [options] <path>",
if (sync) {
ret = ioctl(fd, BTRFS_IOC_SYNC);
- if (ret < 0) {
- error("sync ioctl failed on '%s': %s", path,
+ if (ret < 0)
+ warning("sync ioctl failed on '%s': %s", path,
strerror(errno));
- close_file_or_dir(fd, dirstream);
- goto out;
- }
}
if (filter_flag) {