Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199890
b: refs/heads/master
c: e36f724
h: refs/heads/master
v: v3
  • Loading branch information
Mike Snitzer authored and Jens Axboe committed May 24, 2010
1 parent 2c6a17d commit d8f99d6
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 80b15c7389caa81a3860f9fc2ee47ec0ea572a63
refs/heads/master: e36f724b4ae70e443a7d152929b60059cbfa1a26
2 changes: 1 addition & 1 deletion trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ ssize_t elv_iosched_show(struct request_queue *q, char *name)
struct elevator_type *__e;
int len = 0;

if (!q->elevator)
if (!q->elevator || !blk_queue_stackable(q))
return sprintf(name, "none\n");

elv = e->elevator_type;
Expand Down

0 comments on commit d8f99d6

Please sign in to comment.