btrfs/104: Redirect mkfs output to avoid false alert

btrfs/104 doesn't redirect mkfs output correctly, which leads to
false alert.

Fix it.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Su Yue
2016-12-29 23:14:09 -05:00
committed by Eryu Guan
parent f7a52fc6db
commit 06557299a5
+1 -1
View File
@@ -107,7 +107,7 @@ _explode_fs_tree () {
# Force the default leaf size as the calculations for making our btree
# heights are based on that.
_scratch_mkfs "--nodesize 16384"
_scratch_mkfs "--nodesize 16384" >> $seqres.full 2>&1
_scratch_mount
# populate the default subvolume and create a snapshot ('snap1')