diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2007-07-17 07:03:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:03 -0400 |
commit | f4480240f700587c15507b7815e75989b16825b2 (patch) | |
tree | 96eac4ec200cf49cb1cbbdf185befca34d83b629 /include | |
parent | c6d4d63489f2e3ce38c80e7073952f0c58d4c2bc (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b3a9f0db9d80..aa74f7de9dcd 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1527,7 +1527,7 @@ extern void putname(const char *name); | |||
1527 | 1527 | ||
1528 | #ifdef CONFIG_BLOCK | 1528 | #ifdef CONFIG_BLOCK |
1529 | extern int register_blkdev(unsigned int, const char *); | 1529 | extern int register_blkdev(unsigned int, const char *); |
1530 | extern int unregister_blkdev(unsigned int, const char *); | 1530 | extern void unregister_blkdev(unsigned int, const char *); |
1531 | extern struct block_device *bdget(dev_t); | 1531 | extern struct block_device *bdget(dev_t); |
1532 | extern void bd_set_size(struct block_device *, loff_t size); | 1532 | extern void bd_set_size(struct block_device *, loff_t size); |
1533 | extern void bd_forget(struct inode *inode); | 1533 | extern void bd_forget(struct inode *inode); |