mkfs: fix the total_zones calculation in f2fs_prepare_super_block
authorWang Sheng-Hui <shhuiw@gmail.com>
Fri, 28 Jun 2013 05:21:07 +0000 (13:21 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 2 Jul 2013 00:55:13 +0000 (09:55 +0900)
commit716ea385bee0afe55ca7b18d49ed23df473288ef
tree82e700d336ddf266cc753a86c45127cb3108af84
parentc5bf205a4d7a4e8efad80849bf016e4299935734
mkfs: fix the total_zones calculation in f2fs_prepare_super_block

We can count the main area as the data zones. Remove the '-1' miscalcuation.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
mkfs/f2fs_format.c