diff --git a/cmds-qgroup.c b/cmds-qgroup.c index 9b245b09..f4503fd9 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -375,12 +375,9 @@ static int cmd_qgroup_show(int argc, char **argv) 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) {