From: Andre Noll Date: Fri, 25 Apr 2008 16:57:58 +0000 (+0200) Subject: md: md_getgeo(): Move comment to proper position. X-Git-Tag: v2.6.27-rc1~957^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2f9618ce63cb049c5587f5c650f2725c0035aa96;p=linux-2.6-omap-h63xx.git md: md_getgeo(): Move comment to proper position. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- diff --git a/drivers/md/md.c b/drivers/md/md.c index 912ed04adcf..80bcba9951c 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) return 0; } +/* + * We have a problem here : there is no easy way to give a CHS + * virtual geometry. We currently pretend that we have a 2 heads + * 4 sectors (with a BIG number of cylinders...). This drives + * dosfs just mad... ;-) + */ static int md_getgeo(struct block_device *bdev, struct hd_geometry *geo) { mddev_t *mddev = bdev->bd_disk->private_data; @@ -4958,12 +4964,6 @@ static int md_ioctl(struct inode *inode, struct file *file, err = do_md_stop (mddev, 1); goto done_unlock; - /* - * We have a problem here : there is no easy way to give a CHS - * virtual geometry. We currently pretend that we have a 2 heads - * 4 sectors (with a BIG number of cylinders...). This drives - * dosfs just mad... ;-) - */ } /*