btrfs-progs: fi sync: make it silent by default
authorDavid Sterba <dsterba@suse.com>
Thu, 31 Mar 2016 16:58:39 +0000 (18:58 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 May 2016 12:40:09 +0000 (14:40 +0200)
Report only errors returned by the ioctl.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-filesystem.c

index 38404d2..38749ba 100644 (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);