Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39492
b: refs/heads/master
c: c584164
h: refs/heads/master
v: v3
  • Loading branch information
Vasily Tarasov authored and Jens Axboe committed Oct 12, 2006
1 parent 8389f89 commit 7763e30
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: e6e80f294c2688302f41959c57acfee7e131e489
refs/heads/master: c5841642242e9ae817275e09b36b298456dc17d2
4 changes: 2 additions & 2 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
struct list_head *entry;
int len = 0;

spin_lock_irq(q->queue_lock);
spin_lock_irq(&elv_list_lock);
list_for_each(entry, &elv_list) {
struct elevator_type *__e;

Expand All @@ -1095,7 +1095,7 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
else
len += sprintf(name+len, "%s ", __e->elevator_name);
}
spin_unlock_irq(q->queue_lock);
spin_unlock_irq(&elv_list_lock);

len += sprintf(len+name, "\n");
return len;
Expand Down

0 comments on commit 7763e30

Please sign in to comment.