Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42749
b: refs/heads/master
c: 7a06f78
h: refs/heads/master
i:
  42747: f0cd019
v: v3
  • Loading branch information
Mike Miller authored and Linus Torvalds committed Dec 7, 2006
1 parent 92d55a3 commit 72ef5b5
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: 92c4231aef720bd5e1d634d2f7335f31277318da
refs/heads/master: 7a06f789e0a1b46e4ed2a68f885cbe5ff74a34d6
2 changes: 1 addition & 1 deletion trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ static int cciss_open(struct inode *inode, struct file *filep)
* but I'm already using way to many device nodes to claim another one
* for "raw controller".
*/
if (drv->nr_blocks == 0) {
if (drv->heads == 0) {
if (iminor(inode) != 0) { /* not node 0? */
/* if not node 0 make sure it is a partition = 0 */
if (iminor(inode) & 0x0f) {
Expand Down

0 comments on commit 72ef5b5

Please sign in to comment.