Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9182
b: refs/heads/master
c: 91fbc6e
h: refs/heads/master
v: v3
  • Loading branch information
Anton Altaparmakov committed Sep 22, 2005
1 parent 1ddc975 commit ebe9e8f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: efb0372bbaf5b829ff8c39db372779928af542a7
refs/heads/master: 91fbc6edfa7086b5fcdb74ea82ab747104541f1f
4 changes: 4 additions & 0 deletions trunk/fs/ntfs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ToDo/Notes:
- Enable the code for setting the NT4 compatibility flag when we start
making NTFS 1.2 specific modifications.

2.1.25-WIP

- Fix sparse warnings that have crept in over time.

2.1.24 - Lots of bug fixes and support more clean journal states.

- Support journals ($LogFile) which have been modified by chkdsk. This
Expand Down
7 changes: 4 additions & 3 deletions trunk/fs/ntfs/layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,13 @@ typedef u64 MFT_REF;
typedef le64 leMFT_REF;

#define MK_MREF(m, s) ((MFT_REF)(((MFT_REF)(s) << 48) | \
((MFT_REF)(m) & MFT_REF_MASK_CPU)))
((MFT_REF)(m) & (u64)MFT_REF_MASK_CPU)))
#define MK_LE_MREF(m, s) cpu_to_le64(MK_MREF(m, s))

#define MREF(x) ((unsigned long)((x) & MFT_REF_MASK_CPU))
#define MREF(x) ((unsigned long)((x) & (u64)MFT_REF_MASK_CPU))
#define MSEQNO(x) ((u16)(((x) >> 48) & 0xffff))
#define MREF_LE(x) ((unsigned long)(le64_to_cpu(x) & MFT_REF_MASK_CPU))
#define MREF_LE(x) ((unsigned long)(le64_to_cpu(x) & \
(u64)MFT_REF_MASK_CPU))
#define MSEQNO_LE(x) ((u16)((le64_to_cpu(x) >> 48) & 0xffff))

#define IS_ERR_MREF(x) (((x) & 0x0000800000000000ULL) ? 1 : 0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ntfs/logfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ typedef struct {
*/
enum {
RESTART_VOLUME_IS_CLEAN = const_cpu_to_le16(0x0002),
RESTART_SPACE_FILLER = 0xffff, /* gcc: Force enum bit width to 16. */
RESTART_SPACE_FILLER = const_cpu_to_le16(0xffff), /* gcc: Force enum bit width to 16. */
} __attribute__ ((__packed__));

typedef le16 RESTART_AREA_FLAGS;
Expand Down

0 comments on commit ebe9e8f

Please sign in to comment.