diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/cciss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index e61279f6f26e..c8343051be9e 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -494,7 +494,7 @@ static int cciss_open(struct inode *inode, struct file *filep) | |||
494 | * but I'm already using way to many device nodes to claim another one | 494 | * but I'm already using way to many device nodes to claim another one |
495 | * for "raw controller". | 495 | * for "raw controller". |
496 | */ | 496 | */ |
497 | if (drv->nr_blocks == 0) { | 497 | if (drv->heads == 0) { |
498 | if (iminor(inode) != 0) { /* not node 0? */ | 498 | if (iminor(inode) != 0) { /* not node 0? */ |
499 | /* if not node 0 make sure it is a partition = 0 */ | 499 | /* if not node 0 make sure it is a partition = 0 */ |
500 | if (iminor(inode) & 0x0f) { | 500 | if (iminor(inode) & 0x0f) { |