mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-23 12:14:24 +08:00
btrfs-progs: tests: fix parsing zone size in nullb
The zone size may not be parsed correctly in 'nullb create' due to copy&paste error from the 'size'. This is already fixed upstream. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
b1e2de452a
commit
e39c04ef44
@ -123,7 +123,7 @@ function _parse_zone_size() {
|
||||
_dbg "ARG: $1"
|
||||
if [ "$1" = '-z' ]; then
|
||||
zonesize="$2"
|
||||
if [ -z "$size" ]; then
|
||||
if [ -z "$zonesize" ]; then
|
||||
_error "-z requires size"
|
||||
fi
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user