projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12234d0
)
btrfs-progs: fi sync: make it silent by default
author
David Sterba
<dsterba@suse.com>
Thu, 31 Mar 2016 16:58:39 +0000
(18:58 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/cmds-filesystem.c
b/cmds-filesystem.c
index
38404d2
..
38749ba
100644
(file)
--- 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);