]> granicus.if.org Git - zfs/commit
ZTS: fix reservation_013_pos integer overflow
authorbunder2015 <omfgbunder@gmail.com>
Tue, 17 Apr 2018 17:52:53 +0000 (13:52 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 17 Apr 2018 17:52:53 +0000 (10:52 -0700)
commitb40d45bc6c0e908c4d1086ac8ac3dcd1f7178d2a
tree49f3ab4ba19dcc863232cff191933cb1dced9cd0
parent7f96cc23acf78a325897498b91416b7831a539e3
ZTS: fix reservation_013_pos integer overflow

When using large disks the integers for calculating sizes can
overflow past 2**31.  Changing to long integers with typeset
should correct this.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #4444
Closes #7451
tests/zfs-tests/tests/functional/reservation/reservation_013_pos.sh