btrfs/176: redirect _format_swapfile to null
authorJosef Bacik <josef@toxicpanda.com>
Wed, 24 Nov 2021 15:17:40 +0000 (10:17 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 28 Nov 2021 14:17:24 +0000 (22:17 +0800)
commit6085f8144c2439cba55cbb31882c3122ea4fe7c6
tree9c769d5df98eb0721bc68f266f158dd9bed32715
parentf2976706bb84573b856ba2d9875bae6152246510
btrfs/176: redirect _format_swapfile to null

Since bb0ab7b2 ("common/rc: Enable _format_swapfile to return the swap
size") we started echo'ing out the swap file size, which is polluting
the golden output for btrfs/176 causing it to fail.  Fix this by
redirecting the output to /dev/null.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/176