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
Kirill Smelkov
linux
Commits
de2b5116
Commit
de2b5116
authored
Jan 24, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
31d881c7
1636a64e
Changes
2
Hide 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 @
de2b5116
...
...
@@ -25,6 +25,13 @@ ToDo/Notes:
- Enable the code for setting the NT4 compatibility flag when we start
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.
- Improve error handling in fs/ntfs/inode.c::ntfs_truncate().
...
...
fs/ntfs/debug.c
View file @
de2b5116
...
...
@@ -53,6 +53,10 @@ void __ntfs_warning(const char *function, const struct super_block *sb,
va_list
args
;
int
flen
=
0
;
#ifndef DEBUG
if
(
!
printk_ratelimit
())
return
;
#endif
if
(
function
)
flen
=
strlen
(
function
);
spin_lock
(
&
err_buf_lock
);
...
...
@@ -93,6 +97,10 @@ void __ntfs_error(const char *function, const struct super_block *sb,
va_list
args
;
int
flen
=
0
;
#ifndef DEBUG
if
(
!
printk_ratelimit
())
return
;
#endif
if
(
function
)
flen
=
strlen
(
function
);
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