diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-10-04 13:08:53 +0100 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-10-04 13:08:53 +0100 |
commit | c394e458b69632902d65f9e2f39df79314f72908 (patch) | |
tree | 562a5c51f5f87eeb98a39697d5b4c11e2c4c66e3 /fs/ntfs/layout.h | |
parent | 18efefa9355119b4f6d9b73b074ebbf9882c37c3 (diff) | |
download | kernel_samsung_tuna-c394e458b69632902d65f9e2f39df79314f72908.zip kernel_samsung_tuna-c394e458b69632902d65f9e2f39df79314f72908.tar.gz kernel_samsung_tuna-c394e458b69632902d65f9e2f39df79314f72908.tar.bz2 |
NTFS: Fix a 64-bitness bug where a left-shift could overflow a 32-bit variable
which we now cast to 64-bit first (fs/ntfs/mft.c::map_mft_record_page().
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/layout.h')
-rw-r--r-- | fs/ntfs/layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/layout.h b/fs/ntfs/layout.h index 01f2dfa..5c248d4 100644 --- a/fs/ntfs/layout.h +++ b/fs/ntfs/layout.h @@ -309,7 +309,7 @@ typedef le16 MFT_RECORD_FLAGS; * Note: The _LE versions will return a CPU endian formatted value! */ #define MFT_REF_MASK_CPU 0x0000ffffffffffffULL -#define MFT_REF_MASK_LE const_cpu_to_le64(0x0000ffffffffffffULL) +#define MFT_REF_MASK_LE const_cpu_to_le64(MFT_REF_MASK_CPU) typedef u64 MFT_REF; typedef le64 leMFT_REF; |