diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/adfs/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/map.c b/fs/adfs/map.c index 92ab4fbc2031..568081b93f73 100644 --- a/fs/adfs/map.c +++ b/fs/adfs/map.c | |||
@@ -62,7 +62,7 @@ static DEFINE_RWLOCK(adfs_map_lock); | |||
62 | #define GET_FRAG_ID(_map,_start,_idmask) \ | 62 | #define GET_FRAG_ID(_map,_start,_idmask) \ |
63 | ({ \ | 63 | ({ \ |
64 | unsigned char *_m = _map + (_start >> 3); \ | 64 | unsigned char *_m = _map + (_start >> 3); \ |
65 | u32 _frag = get_unaligned((u32 *)_m); \ | 65 | u32 _frag = get_unaligned_le32(_m); \ |
66 | _frag >>= (_start & 7); \ | 66 | _frag >>= (_start & 7); \ |
67 | _frag & _idmask; \ | 67 | _frag & _idmask; \ |
68 | }) | 68 | }) |