]> err.no Git - linux-2.6/commit
brd: fix name argument of unregister_blkdev()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Aug 2008 21:09:09 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 20 Aug 2008 22:40:30 +0000 (15:40 -0700)
commitc82f2966015a2c9708fb8f20694ef7ba8567d2e1
tree3b0234770d69a0bdbe7dfbc34ae3e5aa8f274621
parentf3944d61ddc65722539ffd7b6f5b7c7217c136cc
brd: fix name argument of unregister_blkdev()

The name of brd block device is "ramdisk", it's not "brd".
(The block device is registered by register_blkdev(RAMDISK_MAJOR, "ramdisk")
So it should be unregistered by unregister_blkdev(RAMDISK_MAJOR, "ramdisk")

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/brd.c