btrfs-progs: image: don't create unused threads
authorZhao Lei <zhaolei@cn.fujitsu.com>
Wed, 9 Sep 2015 13:32:22 +0000 (21:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 11 Sep 2015 15:02:52 +0000 (17:02 +0200)
commitde554435e8ed18aea9f8a4da876c2b5a67bdc0ee
treefd9e79331d2603c5ff6a283143eab595eb35f24d
parent50ef0322b4aecf8c5ea8031aa4f022619d255f10
btrfs-progs: image: don't create unused threads

In case of creating an image without compression, we don't need to
create unused threads.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-image.c