[patch] 2.6.0-test3: typo in hd.c

From: Adrian Bunk
Date: Sun Aug 10 2003 - 16:29:21 EST


On Fri, Aug 08, 2003 at 10:40:37PM -0700, Linus Torvalds wrote:
>...
> Summary of changes from v2.6.0-test2 to v2.6.0-test3
> ====================================================
>...
> Jens Axboe:
>...
> o Proper block queue reference counting
>...

This contains a typo that is fixed with the following patch:

--- linux-2.6.0-test3-not-full/drivers/ide/legacy/hd.c.old 2003-08-10 23:21:04.000000000 +0200
+++ linux-2.6.0-test3-not-full/drivers/ide/legacy/hd.c 2003-08-10 23:21:56.000000000 +0200
@@ -715,7 +715,7 @@

hd_queue = blk_init_queue(do_hd_request, &hd_lock);
if (!hd_queue) {
- unegister_blkdev(MAJOR_NR,"hd");
+ unregister_blkdev(MAJOR_NR,"hd");
return -ENOMEM;
}



cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/