mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-15 16:24:21 +08:00
btrfs-progs: don't output operational status information to stderr
Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
82ecb9c660
commit
d7c131759d
2
utils.c
2
utils.c
@ -746,7 +746,7 @@ int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret,
|
||||
* optimization.
|
||||
*/
|
||||
if (discard_range(fd, 0, 0) == 0) {
|
||||
fprintf(stderr, "Performing full device TRIM (%s) ...\n",
|
||||
printf("Performing full device TRIM (%s) ...\n",
|
||||
pretty_size(block_count));
|
||||
discard_blocks(fd, 0, block_count);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user