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
e38bead1
Commit
e38bead1
authored
Feb 15, 2004
by
Bartlomiej Zolnierkiewicz
Committed by
Linus Torvalds
Feb 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ide-tape: fix "sleeping function called from invalid context"
From: Willem Riede <wrlk@riede.org>
parent
49dd3fd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/ide/ide-tape.c
drivers/ide/ide-tape.c
+1
-1
No files found.
drivers/ide/ide-tape.c
View file @
e38bead1
...
...
@@ -3212,7 +3212,7 @@ static void idetape_wait_for_request (ide_drive_t *drive, struct request *rq)
#endif
/* IDETAPE_DEBUG_BUGS */
rq
->
waiting
=
&
wait
;
tape
->
waiting
=
&
wait
;
spin_unlock
(
&
tape
->
spinlock
);
spin_unlock
_irq
(
&
tape
->
spinlock
);
wait_for_completion
(
&
wait
);
/* The stage and its struct request have been deallocated */
tape
->
waiting
=
NULL
;
...
...
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