[LU-5318] lustre_swab_lmv_mds_md() is not exported Created: 10/Jul/14 Updated: 30/Jul/14 Resolved: 11/Jul/14 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | endianness, ppc | ||
| Severity: | 3 |
| Rank (Obsolete): | 14855 |
| Description |
|
lustre_swab_lmv_mds_md() is called from ll_dir_getstripe() but not exported by ptlrpc.ko: case LMV_MAGIC_V1: if (LMV_MAGIC != cpu_to_le32(LMV_MAGIC)) lustre_swab_lmv_mds_md((union lmv_mds_md *)lmm); break; I imagine we don't see this as an error on normal builds because the call is eliminated as dead code when compiling for little endian. |
| Comments |
| Comment by John Hammond [ 10/Jul/14 ] |
|
Please see http://review.whamcloud.com/11046. |
| Comment by Peter Jones [ 11/Jul/14 ] |
|
Landed for 2.6 |