aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-filesystem.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-31 18:58:39 +0200
committerDavid Sterba <dsterba@suse.com>2016-05-02 14:40:09 +0200
commitb005ca024990569d2de459485682158633937928 (patch)
treead33c31ed5546b82da148f813dcf1696e031cd38 /cmds-filesystem.c
parent12234d0202a30fb225ebae817b5eb2e80b641d4c (diff)
downloadbtrfs-progs-b005ca024990569d2de459485682158633937928.tar.gz
btrfs-progs-b005ca024990569d2de459485682158633937928.tar.xz
btrfs-progs-b005ca024990569d2de459485682158633937928.zip
btrfs-progs: fi sync: make it silent by default
Report only errors returned by the ioctl. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-filesystem.c')
-rw-r--r--cmds-filesystem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 38404d2..38749ba 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -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);