Okay,
It seems that I f**ked up the patch creation. Actually only the first
chunk of the patch is correct. New version of the patch attached.
Best regards/MvG,
Gertjan.
Gertjan van Wingerde wrote:
> Hi,
>
> The attached patch to 2.5.2-pre9 is necessary to get it to compile and
> to clean up some NODEV vs. mk_kdev(0, 0) usages.
>
>
-- MvG,Gertjan
----------
Gertjan van Wingerde Geessinkweg 177 7544 TX Enschede The Netherlands E-mail: gwingerde@home.nl
--------------030401060101050502080503 Content-Type: text/plain; name="linux-md.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="linux-md.diff"
diff -u --recursive linux-2.5.2-pre8/drivers/md/md.c linux-2.5.x/drivers/md/md.c --- linux-2.5.2-pre8/drivers/md/md.c Sun Jan 6 11:28:53 2002 +++ linux-2.5.x/drivers/md/md.c Sun Jan 6 11:30:03 2002 @@ -641,7 +641,7 @@ int err = 0; struct block_device *bdev; - bdev = bdget(rdev->dev); + bdev = bdget(kdev_t_to_nr(rdev->dev)); if (!bdev) return -ENOMEM; err = blkdev_get(bdev, FMODE_READ|FMODE_WRITE, 0, BDEV_RAW);
--------------030401060101050502080503--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/