]> git.ipfire.org Git - thirdparty/util-linux.git/commit
blkzone: Reset all zones when length is not specified
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 24 Feb 2017 02:48:45 +0000 (11:48 +0900)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Feb 2017 10:53:45 +0000 (11:53 +0100)
commit72a73102334a7e531e566defcd92dcb822c4e388
tree690c07bb3106ff1cfd4bcff7b49b0f5acf1f26aa
parent22fae330d9b9b124e782a99c9daacdc5290cdf35
blkzone: Reset all zones when length is not specified

If length is 0, operate on all zones starting from offset.
This also fix the maximum length calculation from offset.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
sys-utils/blkzone.c