mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
hfsplus: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <[email protected]> Cc: Roman Zippel <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
803f445f17
commit
8b3789e5d5
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd)
|
|||
return 0;
|
||||
wd->ablk_start = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART));
|
||||
|
||||
extent = be32_to_cpu(get_unaligned((__be32 *)(bufptr + HFSP_WRAPOFF_EMBEDEXT)));
|
||||
extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT);
|
||||
wd->embed_start = (extent >> 16) & 0xFFFF;
|
||||
wd->embed_count = extent & 0xFFFF;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue