Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] cciss: add init of drv->cylinders back to cciss_geometry_inquiry

This patch adds initialization of drv->cylinders back into the failing case in
cciss_geometry_inquiry. I inadvertently removed it in one my 2TB updates.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Mike Miller (OS Dev) and committed by
Linus Torvalds
7f42d3b8 2363cc02

+1
+1
drivers/block/cciss.c
··· 1915 1915 "does not support reading geometry\n"); 1916 1916 drv->heads = 255; 1917 1917 drv->sectors = 32; // Sectors per track 1918 + drv->cylinders = total_size + 1; 1918 1919 drv->raid_level = RAID_UNKNOWN; 1919 1920 } else { 1920 1921 drv->heads = inq_buff->data_byte[6];