btrfs-progs: fi sync: make it silent by default

Report only errors returned by the ioctl.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-03-31 18:58:39 +02:00
parent 12234d0202
commit b005ca0249

View File

@ -927,7 +927,6 @@ static int cmd_filesystem_sync(int argc, char **argv)
if (fd < 0)
return 1;
printf("FSSync '%s'\n", path);
res = ioctl(fd, BTRFS_IOC_SYNC);
e = errno;
close_file_or_dir(fd, dirstream);