Loading drivers/md/md.c +1 −1 Original line number Diff line number Diff line Loading @@ -5556,7 +5556,7 @@ static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) geo->heads = 2; geo->sectors = 4; geo->cylinders = get_capacity(mddev->gendisk) / 8; geo->cylinders = mddev->array_sectors / 8; return 0; } Loading Loading
drivers/md/md.c +1 −1 Original line number Diff line number Diff line Loading @@ -5556,7 +5556,7 @@ static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) geo->heads = 2; geo->sectors = 4; geo->cylinders = get_capacity(mddev->gendisk) / 8; geo->cylinders = mddev->array_sectors / 8; return 0; } Loading