[PATCH 4.14 43/66] md: avoid signed overflow in slot_store()