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
cd48ac51
Commit
cd48ac51
authored
Jun 19, 2003
by
Glen Overby
Committed by
Stephen Lord
Jun 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Remove a use after free which was introduced in the debug
build. SGI Modid: 2.5.x-xfs:slinx:148158a
parent
a36f97b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.c
+0
-10
No files found.
fs/xfs/xfs_trans.c
View file @
cd48ac51
...
...
@@ -850,15 +850,6 @@ xfs_trans_commit(
* running in simulation mode (the log is explicitly turned
* off).
*/
#if defined(XLOG_NOLOG) || defined(DEBUG)
if
(
xlog_debug
)
{
tp
->
t_logcb
.
cb_func
=
(
void
(
*
)(
void
*
,
int
))
xfs_trans_committed
;
tp
->
t_logcb
.
cb_arg
=
tp
;
error
=
xfs_log_notify
(
mp
,
commit_iclog
,
&
(
tp
->
t_logcb
));
}
else
{
xfs_trans_committed
(
tp
,
0
);
}
#else
tp
->
t_logcb
.
cb_func
=
(
void
(
*
)(
void
*
,
int
))
xfs_trans_committed
;
tp
->
t_logcb
.
cb_arg
=
tp
;
...
...
@@ -869,7 +860,6 @@ xfs_trans_commit(
* waiting for an item to unlock.
*/
error
=
xfs_log_notify
(
mp
,
commit_iclog
,
&
(
tp
->
t_logcb
));
#endif
/*
* Once all the items of the transaction have been copied
...
...
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