[LU-4753] leXX_to_cpu() size mismatches Created: 12/Mar/14 Updated: 11/Aug/14 Resolved: 20/Mar/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | endianness, patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 13082 |
| Description |
|
In lod_prep_md_striped_create() we're using cpu_to_le32() to transfer __u16 values: __u16 lmm_stripe_offset;
__u16 ldo_def_stripe_offset;
v3->lmm_stripe_count = cpu_to_le32(lo->ldo_def_stripenr);
v3->lmm_stripe_offset = cpu_to_le32(lo->ldo_def_stripe_offset);
|
| Comments |
| Comment by Swapnil Pimpale (Inactive) [ 13/Mar/14 ] |
| Comment by Jodi Levi (Inactive) [ 20/Mar/14 ] |
|
Patch landed to Master. |