Btrfs-progs: receive: don't output normal message into stderr
Don't output normal messages into stderr, this make xfstests filter output easier. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
parent
14ef4f5695
commit
771040bb35
|
@ -213,7 +213,7 @@ static int process_snapshot(const char *path, const u8 *uuid, u64 ctransid,
|
||||||
free(r->full_subvol_path);
|
free(r->full_subvol_path);
|
||||||
r->full_subvol_path = path_cat3(r->root_path, r->dest_dir_path, path);
|
r->full_subvol_path = path_cat3(r->root_path, r->dest_dir_path, path);
|
||||||
|
|
||||||
fprintf(stderr, "At snapshot %s\n", path);
|
fprintf(stdout, "At snapshot %s\n", path);
|
||||||
|
|
||||||
memcpy(r->cur_subvol->received_uuid, uuid, BTRFS_UUID_SIZE);
|
memcpy(r->cur_subvol->received_uuid, uuid, BTRFS_UUID_SIZE);
|
||||||
r->cur_subvol->stransid = ctransid;
|
r->cur_subvol->stransid = ctransid;
|
||||||
|
|
Loading…
Reference in New Issue