Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
91fbc6ed
Commit
91fbc6ed
authored
Sep 22, 2005
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NTFS: Fix sparse warnings that have crept in over time.
Signed-off-by:
Anton Altaparmakov
<
aia21@cantab.net
>
parent
efb0372b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+4
-0
fs/ntfs/layout.h
fs/ntfs/layout.h
+4
-3
fs/ntfs/logfile.h
fs/ntfs/logfile.h
+1
-1
No files found.
fs/ntfs/ChangeLog
View file @
91fbc6ed
...
...
@@ -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
...
...
fs/ntfs/layout.h
View file @
91fbc6ed
...
...
@@ -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)
...
...
fs/ntfs/logfile.h
View file @
91fbc6ed
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment