diff options
-rw-r--r-- | drivers/md/md.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 912ed04adcff..80bcba9951c3 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -4807,6 +4807,12 @@ static int set_disk_faulty(mddev_t *mddev, dev_t dev) | |||
4807 | return 0; | 4807 | return 0; |
4808 | } | 4808 | } |
4809 | 4809 | ||
4810 | /* | ||
4811 | * We have a problem here : there is no easy way to give a CHS | ||
4812 | * virtual geometry. We currently pretend that we have a 2 heads | ||
4813 | * 4 sectors (with a BIG number of cylinders...). This drives | ||
4814 | * dosfs just mad... ;-) | ||
4815 | */ | ||
4810 | static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) | 4816 | static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) |
4811 | { | 4817 | { |
4812 | mddev_t *mddev = bdev->bd_disk->private_data; | 4818 | mddev_t *mddev = bdev->bd_disk->private_data; |
@@ -4958,12 +4964,6 @@ static int md_ioctl(struct inode *inode, struct file *file, | |||
4958 | err = do_md_stop (mddev, 1); | 4964 | err = do_md_stop (mddev, 1); |
4959 | goto done_unlock; | 4965 | goto done_unlock; |
4960 | 4966 | ||
4961 | /* | ||
4962 | * We have a problem here : there is no easy way to give a CHS | ||
4963 | * virtual geometry. We currently pretend that we have a 2 heads | ||
4964 | * 4 sectors (with a BIG number of cylinders...). This drives | ||
4965 | * dosfs just mad... ;-) | ||
4966 | */ | ||
4967 | } | 4967 | } |
4968 | 4968 | ||
4969 | /* | 4969 | /* |