Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33444
b: refs/heads/master
c: 2d8f613
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Greg Kroah-Hartman committed Aug 22, 2006
1 parent 03f0262 commit 3e6e20c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 00a2b0f6dd2372842df73de72d51621b539fea44
refs/heads/master: 2d8f613160ed303f5fe310f21bba334a4b074fa5
3 changes: 2 additions & 1 deletion trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,8 @@ void elv_unregister(struct elevator_type *e)
read_lock(&tasklist_lock);
do_each_thread(g, p) {
task_lock(p);
e->ops.trim(p->io_context);
if (p->io_context)
e->ops.trim(p->io_context);
task_unlock(p);
} while_each_thread(g, p);
read_unlock(&tasklist_lock);
Expand Down

0 comments on commit 3e6e20c

Please sign in to comment.