diff mbox

Add -v option to btrfsctl to control verbosity: Be quiet unless requested.

Message ID 4D3AC69A.2080302@gmx.de (mailing list archive)
State New, archived
Headers show

Commit Message

Maximilian Mehnert Jan. 22, 2011, 11:59 a.m. UTC
None
diff mbox

Patch

diff --git a/btrfsctl.c b/btrfsctl.c
index 92bdf39..156ed62 100644
--- a/btrfsctl.c
+++ b/btrfsctl.c
@@ -106,6 +106,7 @@  int main(int ac, char **av)
  	char *pos;
  	char *fullpath;
  	u64 objectid = 0;
+	int verbose = 0;
   	if (ac == 2 && strcmp(av[1], "-a") == 0) {
  		fprintf(stderr, "Scanning for Btrfs filesystems\n");
@@ -217,6 +218,9 @@  int main(int ac, char **av)