Skip to content
Commit 0bc62284 authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil
Browse files

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: default avatarYan, Zheng <zyan@redhat.com>
parent 792c3a91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment