summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
authorLi Yang <liyang.fnst@cn.fujitsu.com>2014-04-21 05:38:08 -0400
committerDavid Sterba <dsterba@suse.cz>2014-05-02 17:03:56 +0200
commitdae7456c7f3990d264d546e03375e4def3e646a6 (patch)
tree8a3e41f00834688ea13e824ea3622396f35bbe22 /mkfs.c
parentcdee9ecc184f60a5110f2b68c72ec8d46c103f4e (diff)
Btrfs-progs: mkfs: Remove 'zero_end =1' since it has been set to a value
In utils.c, zero_end is used as a parameter, should not force it to 1. In mkfs.c, zero_end is set to 1 or 0(-b) at the beginning, should not force it to 1 unconditionally. Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index dbd83f5c..f2b57792 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1543,7 +1543,6 @@ int main(int ac, char **av)
btrfs_register_one_device(file);
- zero_end = 1;
while (dev_cnt-- > 0) {
int old_mixed = mixed;