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
0d39ce1f
Commit
0d39ce1f
authored
Jan 10, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Prevent log ktrace code from sleeping in an invalid context.
SGI Modid: 2.5.x-xfs:slinx:162768a
parent
5e6ff38f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
fs/xfs/xfs_log.c
fs/xfs/xfs_log.c
+5
-2
No files found.
fs/xfs/xfs_log.c
View file @
0d39ce1f
...
...
@@ -163,8 +163,11 @@ xfs_buftarg_t *xlog_target;
void
xlog_trace_loggrant
(
xlog_t
*
log
,
xlog_ticket_t
*
tic
,
xfs_caddr_t
string
)
{
if
(
!
log
->
l_grant_trace
)
log
->
l_grant_trace
=
ktrace_alloc
(
1024
,
KM_SLEEP
);
if
(
!
log
->
l_grant_trace
)
{
log
->
l_grant_trace
=
ktrace_alloc
(
1024
,
KM_NOSLEEP
);
if
(
!
log
->
l_grant_trace
)
return
;
}
ktrace_enter
(
log
->
l_grant_trace
,
(
void
*
)
tic
,
...
...
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