diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-29 01:03:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:28 -0700 |
commit | 8b3789e5d552b8ba4841926066ef0ccd664e209c (patch) | |
tree | 927397c9abf3942faeebe86e62ef9a2c4a9226d9 /fs/hfsplus/wrapper.c | |
parent | 803f445f17aa1b71235ad6febae734dd7ad23ddd (diff) | |
download | kernel_goldelico_gta04-8b3789e5d552b8ba4841926066ef0ccd664e209c.zip kernel_goldelico_gta04-8b3789e5d552b8ba4841926066ef0ccd664e209c.tar.gz kernel_goldelico_gta04-8b3789e5d552b8ba4841926066ef0ccd664e209c.tar.bz2 |
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>
Diffstat (limited to 'fs/hfsplus/wrapper.c')
-rw-r--r-- | fs/hfsplus/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/wrapper.c b/fs/hfsplus/wrapper.c index 72cab78..175d08e 100644 --- a/fs/hfsplus/wrapper.c +++ b/fs/hfsplus/wrapper.c @@ -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; |