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:
parent
12234d0202
commit
b005ca0249
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue