zbd: Use bytes unit
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 29 Aug 2018 01:45:22 +0000 (10:45 +0900)
committerDamien Le Moal <damien.lemoal@wdc.com>
Thu, 6 Sep 2018 01:09:10 +0000 (10:09 +0900)
commitee3696bdfd84bb2a0ef0757a6ce0140eea46228a
treebb83fcedf1ffa37fbf7bb2101db107669db9872d
parentcd775e06bb369a23b9c7aab259127f38e8027ca5
zbd: Use bytes unit

Simplify zbd.c code by using byte unit for the zone information values
instead of 512B sector count. Doing so, many 9 bits shift operations
are removed and code readability improved.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
zbd.c