Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f06d7a8b
Commit
f06d7a8b
authored
Nov 01, 2004
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Plain Diff
Merge
ssh://linux-ntfs@bkbits.net/ntfs-2.6-devel
into cantab.net:/home/src/ntfs-2.6-devel
parents
f99fd71d
87a58600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
fs/ntfs/attrib.c
fs/ntfs/attrib.c
+4
-13
No files found.
fs/ntfs/attrib.c
View file @
f06d7a8b
...
...
@@ -250,19 +250,10 @@ static int ntfs_attr_find(const ATTR_TYPE type, const ntfschar *name,
const
u8
*
val
,
const
u32
val_len
,
ntfs_attr_search_ctx
*
ctx
)
{
ATTR_RECORD
*
a
;
ntfs_volume
*
vol
;
ntfschar
*
upcase
;
u32
upcase_len
;
ntfs_volume
*
vol
=
ctx
->
ntfs_ino
->
vol
;
ntfschar
*
upcase
=
vol
->
upcase
;
u32
upcase_len
=
vol
->
upcase_len
;
if
(
ic
==
IGNORE_CASE
)
{
vol
=
ctx
->
ntfs_ino
->
vol
;
upcase
=
vol
->
upcase
;
upcase_len
=
vol
->
upcase_len
;
}
else
{
vol
=
NULL
;
upcase
=
NULL
;
upcase_len
=
0
;
}
/*
* Iterate over attributes in mft record starting at @ctx->attr, or the
* attribute following that, if @ctx->is_first is TRUE.
...
...
@@ -354,7 +345,7 @@ static int ntfs_attr_find(const ATTR_TYPE type, const ntfschar *name,
return
-
ENOENT
;
}
}
ntfs_error
(
NULL
,
"Inode is corrupt. Run chkdsk."
);
ntfs_error
(
vol
->
sb
,
"Inode is corrupt. Run chkdsk."
);
NVolSetErrors
(
vol
);
return
-
EIO
;
}
...
...
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