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
1636a64e
Commit
1636a64e
authored
Jan 25, 2005
by
Anton Altaparmakov
Browse files
Options
Browse Files
Download
Plain Diff
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6
parents
98f9485a
062775e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
fs/ntfs/ChangeLog
fs/ntfs/ChangeLog
+7
-0
fs/ntfs/debug.c
fs/ntfs/debug.c
+8
-0
No files found.
fs/ntfs/ChangeLog
View file @
1636a64e
...
@@ -25,6 +25,13 @@ ToDo/Notes:
...
@@ -25,6 +25,13 @@ ToDo/Notes:
- Enable the code for setting the NT4 compatibility flag when we start
- Enable the code for setting the NT4 compatibility flag when we start
making NTFS 1.2 specific modifications.
making NTFS 1.2 specific modifications.
2.1.23-WIP
- Add printk rate limiting for ntfs_warning() and ntfs_error() when
compiled without debug. This avoids a possible denial of service
attack. Thanks to Carl-Daniel Hailfinger from SuSE for pointing this
out.
2.1.22 - Many bug and race fixes and error handling improvements.
2.1.22 - Many bug and race fixes and error handling improvements.
- Improve error handling in fs/ntfs/inode.c::ntfs_truncate().
- Improve error handling in fs/ntfs/inode.c::ntfs_truncate().
...
...
fs/ntfs/debug.c
View file @
1636a64e
...
@@ -53,6 +53,10 @@ void __ntfs_warning(const char *function, const struct super_block *sb,
...
@@ -53,6 +53,10 @@ void __ntfs_warning(const char *function, const struct super_block *sb,
va_list
args
;
va_list
args
;
int
flen
=
0
;
int
flen
=
0
;
#ifndef DEBUG
if
(
!
printk_ratelimit
())
return
;
#endif
if
(
function
)
if
(
function
)
flen
=
strlen
(
function
);
flen
=
strlen
(
function
);
spin_lock
(
&
err_buf_lock
);
spin_lock
(
&
err_buf_lock
);
...
@@ -93,6 +97,10 @@ void __ntfs_error(const char *function, const struct super_block *sb,
...
@@ -93,6 +97,10 @@ void __ntfs_error(const char *function, const struct super_block *sb,
va_list
args
;
va_list
args
;
int
flen
=
0
;
int
flen
=
0
;
#ifndef DEBUG
if
(
!
printk_ratelimit
())
return
;
#endif
if
(
function
)
if
(
function
)
flen
=
strlen
(
function
);
flen
=
strlen
(
function
);
spin_lock
(
&
err_buf_lock
);
spin_lock
(
&
err_buf_lock
);
...
...
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