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
a550c42f
Commit
a550c42f
authored
Oct 12, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] last jffs/jffs2 signal fix was wrong
parent
449b0db0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
fs/jffs/intrep.c
fs/jffs/intrep.c
+1
-4
fs/jffs2/background.c
fs/jffs2/background.c
+2
-5
No files found.
fs/jffs/intrep.c
View file @
a550c42f
...
...
@@ -3379,10 +3379,7 @@ jffs_garbage_collect_thread(void *ptr)
unsigned
long
signr
=
0
;
spin_lock_irq
(
&
current
->
sig
->
siglock
);
if
(
current
->
sig
->
shared_pending
.
head
)
signr
=
dequeue_signal
(
&
current
->
sig
->
shared_pending
,
&
info
);
if
(
!
signr
)
signr
=
dequeue_signal
(
&
current
->
pending
,
&
info
);
signr
=
dequeue_signal
(
&
current
->
blocked
,
&
info
);
spin_unlock_irq
(
&
current
->
sig
->
siglock
);
switch
(
signr
)
{
...
...
fs/jffs2/background.c
View file @
a550c42f
...
...
@@ -66,7 +66,7 @@ void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c)
/* stop a eventually scheduled wbuf flush timer */
del_timer_sync
(
&
c
->
wbuf_timer
);
/* make sure, that a scheduled wbuf flush task is completed */
flush_scheduled_
tasks
();
flush_scheduled_
work
();
}
spin_lock_bh
(
&
c
->
erase_completion_lock
);
...
...
@@ -115,10 +115,7 @@ static int jffs2_garbage_collect_thread(void *_c)
unsigned
long
signr
=
0
;
spin_lock_irq
(
&
current
->
sig
->
siglock
);
if
(
current
->
sig
->
shared_pending
.
head
)
signr
=
dequeue_signal
(
&
current
->
sig
->
shared_pending
,
&
info
);
if
(
!
signr
)
signr
=
dequeue_signal
(
&
current
->
pending
,
&
info
);
signr
=
dequeue_signal
(
&
current
->
blocked
,
&
info
);
spin_unlock_irq
(
&
current
->
sig
->
siglock
);
switch
(
signr
)
{
...
...
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