aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLi Nan <[email protected]>2024-05-07 10:31:03 +0800
committerJens Axboe <[email protected]>2024-05-07 07:34:08 -0600
commit504fbcffea649cad69111e7597081dd8adc3b395 (patch)
tree851214c14a43795216c583b3bb527b8f4dd25ebd /rust/helpers/helpers.c
parent719c15a75ebf3bda3ca718fe8e0ce63d262ec7ae (diff)
md: Revert "md: Fix overflow in is_mddev_idle"
This reverts commit 3f9f231236ce7e48780d8a4f1f8cb9fae2df1e4e. Using 64bit for 'sync_io' is unnecessary from the gendisk side. This overflow will not cause any functional impact, except for a UBSAN warning. Solving this overflow requires introducing additional calculations and checks which are not necessary. So just keep using 32bit for 'sync_io'. Signed-off-by: Li Nan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions