mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-16 17:56:51 +00:00
btrfs-progs: quota: use pr_verbose for messages
Replace printf by the level-aware helper. No change for commands that don't have the global -q/-v options, otherwise the output can be quieted. There's no change in qgroup.c yet as the output relies on return value of the formatter and pr_verbose does not do that. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
c98f9d0392
commit
2c5c4141ba
@ -169,9 +169,9 @@ static int cmd_quota_rescan(const struct cmd_struct *cmd, int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
if (!args.flags)
|
||||
printf("no rescan operation in progress\n");
|
||||
pr_verbose(LOG_DEFAULT, "no rescan operation in progress\n");
|
||||
else
|
||||
printf("rescan operation running (current key %lld)\n",
|
||||
pr_verbose(LOG_DEFAULT, "rescan operation running (current key %lld)\n",
|
||||
args.progress);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user