unregister_blkdev(): return void
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 17 Jul 2007 11:03:47 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:03 +0000 (10:23 -0700)
commitf4480240f700587c15507b7815e75989b16825b2
tree96eac4ec200cf49cb1cbbdf185befca34d83b629
parentc6d4d63489f2e3ce38c80e7073952f0c58d4c2bc
unregister_blkdev(): return void

Put WARN_ON and fixed all callers of unregister_blkdev().  Now we can make
unregister_blkdev return void.

Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c
include/linux/fs.h