Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96477
b: refs/heads/master
c: 5aecd55
h: refs/heads/master
i:
  96475: 6984c3c
v: v3
  • Loading branch information
Denis Cheng authored and Linus Torvalds committed May 13, 2008
1 parent 34e04fd commit cad7bc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 241937b863c8a3ef10511712f53285f41ab05308
refs/heads/master: 5aecd559871d23a3cc297e544c9d63f0b8441cf4
4 changes: 2 additions & 2 deletions trunk/mm/pdflush.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0)

spin_lock_irqsave(&pdflush_lock, flags);
if (list_empty(&pdflush_list)) {
spin_unlock_irqrestore(&pdflush_lock, flags);
ret = -1;
} else {
struct pdflush_work *pdf;
Expand All @@ -219,8 +218,9 @@ int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0)
pdf->fn = fn;
pdf->arg0 = arg0;
wake_up_process(pdf->who);
spin_unlock_irqrestore(&pdflush_lock, flags);
}
spin_unlock_irqrestore(&pdflush_lock, flags);

return ret;
}

Expand Down

0 comments on commit cad7bc8

Please sign in to comment.