btrfs-progs: don't print version info from embedded subcommands
The version is provided by 'btrfs --version'. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4e01c34b8b
commit
e29ec82e4e
|
@ -9730,7 +9730,6 @@ out:
|
|||
printf("file data blocks allocated: %llu\n referenced %llu\n",
|
||||
(unsigned long long)data_bytes_allocated,
|
||||
(unsigned long long)data_bytes_referenced);
|
||||
printf("%s\n", PACKAGE_STRING);
|
||||
|
||||
free_root_recs_tree(&root_cache);
|
||||
close_out:
|
||||
|
|
|
@ -916,7 +916,6 @@ devs_only:
|
|||
free_fs_devices(fs_devices);
|
||||
}
|
||||
out:
|
||||
printf("%s\n", PACKAGE_STRING);
|
||||
free_seen_fsid();
|
||||
return ret;
|
||||
}
|
||||
|
@ -1174,8 +1173,6 @@ static int cmd_filesystem_defrag(int argc, char **argv)
|
|||
defrag_global_errors++;
|
||||
}
|
||||
}
|
||||
if (defrag_global_verbose)
|
||||
printf("%s\n", PACKAGE_STRING);
|
||||
if (defrag_global_errors)
|
||||
fprintf(stderr, "total %d failures\n", defrag_global_errors);
|
||||
|
||||
|
|
Loading…
Reference in New Issue