Commit c43ba733 authored by Anton Altaparmakov's avatar Anton Altaparmakov

Merge ssh://linux-ntfs@bkbits.net/ntfs-2.6-devel

into cantab.net:/home/src/ntfs-2.6-devel
parents 038f9a8f a32c00ac
...@@ -143,13 +143,13 @@ typedef le32 NTFS_RECORD_TYPE; ...@@ -143,13 +143,13 @@ typedef le32 NTFS_RECORD_TYPE;
static inline BOOL __ntfs_is_magic(le32 x, NTFS_RECORD_TYPE r) static inline BOOL __ntfs_is_magic(le32 x, NTFS_RECORD_TYPE r)
{ {
return (x == (__force le32)r); return (x == r);
} }
#define ntfs_is_magic(x, m) __ntfs_is_magic(x, magic_##m) #define ntfs_is_magic(x, m) __ntfs_is_magic(x, magic_##m)
static inline BOOL __ntfs_is_magicp(le32 *p, NTFS_RECORD_TYPE r) static inline BOOL __ntfs_is_magicp(le32 *p, NTFS_RECORD_TYPE r)
{ {
return (*p == (__force le32)r); return (*p == r);
} }
#define ntfs_is_magicp(p, m) __ntfs_is_magicp(p, magic_##m) #define ntfs_is_magicp(p, m) __ntfs_is_magicp(p, magic_##m)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment