2.5.43 cciss zero cyls too

2.5.43 cciss zero cyls too

Post by Stephen Camero » Thu, 17 Oct 2002 23:50:09



Zero out cylinders when zeroing out other disk info.

diff -urN linux-2.5.43-d/drivers/block/cciss.c linux-2.5.43-e/drivers/block/cciss.c
--- linux-2.5.43-d/drivers/block/cciss.c        Wed Oct 16 08:22:21 2002

        /* zero out the disk size info */
        h->drv[logvol].nr_blocks = 0;
        h->drv[logvol].block_size = 0;
+       h->drv[logvol].cylinders = 0;
        h->drv[logvol].LunID = 0;
        return(0);
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.43 cciss init gendisk->fops

Initialize cciss gendisk->fops

diff -urN linux-2.5.43-b/drivers/block/cciss.c linux-2.5.43-c/drivers/block/cciss.c
--- linux-2.5.43-b/drivers/block/cciss.c        Wed Oct 16 08:15:16 2002

                sprintf(disk->disk_name, "cciss/c%dd%d", i, j);
                disk->major = MAJOR_NR + i;
                disk->first_minor = j << NWD_SHIFT;
+               disk->fops = &cciss_fops;
                if( !(drv->nr_blocks))
                        continue;
                (BLK_DEFAULT_QUEUE(MAJOR_NR + i))->hardsect_size = drv->block_size;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. A question about ptrace requests

3. 2.5.43 cciss no tape timeouts

4. Visual C++/MFC Programmers Dallas

5. 2.5.43 cciss add GETLUNINFO ioctl

6. exportfs problems

7. 2.5.43 cciss 20 second polling timeout

8. Catch all email w/ postfix/procmail

9. 2.5.43 cciss, retry 3rd-party aborted commands

10. 2.5.43 cciss kill bogus cciss_scsi init code

11. 2.5.43 cciss factor more dup'ed code

12. 2.5.43 cciss rescan disk ioctl

13. 2.5.43 cciss partition problem