Moved the definition of leMFT_REF to layout.h
parent
f22dec0442
commit
1c9ef6293b
|
@ -311,6 +311,7 @@ typedef enum {
|
|||
#define MFT_REF_MASK_LE const_cpu_to_le64(MFT_REF_MASK_CPU)
|
||||
|
||||
typedef u64 MFT_REF;
|
||||
typedef le64 leMFT_REF; /* a little-endian MFT_MREF */
|
||||
|
||||
#define MK_MREF(m, s) ((MFT_REF)(((MFT_REF)(s) << 48) | \
|
||||
((MFT_REF)(m) & MFT_REF_MASK_CPU)))
|
||||
|
|
|
@ -155,8 +155,4 @@ static __inline__ ntfschar *ntfs_attr_get_name(ATTR_RECORD *attr)
|
|||
return (ntfschar*)((u8*)attr + le16_to_cpu(attr->name_offset));
|
||||
}
|
||||
|
||||
/* The define 'leMFT_REF' is not present in libntfs-3g. It is only symbolic so
|
||||
* typedef it to MFT_REF.*/
|
||||
typedef MFT_REF leMFT_REF;
|
||||
|
||||
#endif /* _NTFS_UTILS_H_ */
|
||||
|
|
Loading…
Reference in New Issue