Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180519
b: refs/heads/master
c: 531c2dc
h: refs/heads/master
i:
  180517: bf8d02d
  180515: 72d8cf9
  180511: c0355c4
v: v3
  • Loading branch information
Stephen M. Cameron authored and Jens Axboe committed Feb 5, 2010
1 parent 9ac4f00 commit b0a597c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ae54abed636d18f7939c965f21ad126001dbe34c
refs/heads/master: 531c2dc70d339c5dfa8c3eb628c3459dc6f3a075
3 changes: 3 additions & 0 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ static int cciss_seq_show(struct seq_file *seq, void *v)
if (*pos > h->highest_lun)
return 0;

if (drv == NULL) /* it's possible for h->drv[] to have holes. */
return 0;

if (drv->heads == 0)
return 0;

Expand Down

0 comments on commit b0a597c

Please sign in to comment.