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
1 changed files with 0 additions and 1 deletions
|
@ -927,7 +927,6 @@ static int cmd_filesystem_sync(int argc, char **argv)
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
printf("FSSync '%s'\n", path);
|
|
||||||
res = ioctl(fd, BTRFS_IOC_SYNC);
|
res = ioctl(fd, BTRFS_IOC_SYNC);
|
||||||
e = errno;
|
e = errno;
|
||||||
close_file_or_dir(fd, dirstream);
|
close_file_or_dir(fd, dirstream);
|
||||||
|
|
Loading…
Reference in a new issue