ceph: fix divide-by-zero in __validate_layout()
The 'stripe_unit' field is 64 bits, casting it to 32 bits can result zero.
Signed-off-by:
Yan, Zheng <zyan@redhat.com>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The 'stripe_unit' field is 64 bits, casting it to 32 bits can result zero.
Signed-off-by:
Yan, Zheng <zyan@redhat.com>