mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Cleanup: Change 1 used in bitshifts to 1ULL
Coverity complains about this. It is not a bug as long as we never shift by more than 31, but it is not terrible to change the constants from 1 to 1ULL as clean up. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #13914
This commit is contained in:
@@ -3000,7 +3000,7 @@ scan_io_queue_fetch_ext(dsl_scan_io_queue_t *queue)
|
||||
* otherwise we leave shorter remnant every txg.
|
||||
*/
|
||||
uint64_t start;
|
||||
uint64_t size = 1 << rt->rt_shift;
|
||||
uint64_t size = 1ULL << rt->rt_shift;
|
||||
range_seg_t *addr_rs;
|
||||
if (queue->q_last_ext_addr != -1) {
|
||||
start = queue->q_last_ext_addr;
|
||||
|
||||
Reference in New Issue
Block a user