Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0
-
3
-
7705
Description
The rarely tested lov_getstripe() assumes that
(char*)(&lmmk->lmm_stripe_count) + sizeof(lmmk->lmm_stripe_count)
is the address of lmm_objects when lmmk is cast to lov_mds_md_v1. (This was written before lmm_layout_gen was introduced. But this not the way to do that in any case.)