Commit 8b3789e5d552b8ba4841926066ef0ccd664e209c
Committed by
Linus Torvalds
1 parent
803f445f17
Exists in
master
and in
39 other branches
hfsplus: use get/put_unaligned_* helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/hfsplus/wrapper.c
... | ... | @@ -47,7 +47,7 @@ |
47 | 47 | return 0; |
48 | 48 | wd->ablk_start = be16_to_cpu(*(__be16 *)(bufptr + HFSP_WRAPOFF_ABLKSTART)); |
49 | 49 | |
50 | - extent = be32_to_cpu(get_unaligned((__be32 *)(bufptr + HFSP_WRAPOFF_EMBEDEXT))); | |
50 | + extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); | |
51 | 51 | wd->embed_start = (extent >> 16) & 0xFFFF; |
52 | 52 | wd->embed_count = extent & 0xFFFF; |
53 | 53 |