[PATCH] include/linux/blkdev.h: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Родитель
e2afe67453
Коммит
2befb9e36d
|
@ -728,7 +728,7 @@ static inline unsigned int blksize_bits(unsigned int size)
|
|||
return bits;
|
||||
}
|
||||
|
||||
extern inline unsigned int block_size(struct block_device *bdev)
|
||||
static inline unsigned int block_size(struct block_device *bdev)
|
||||
{
|
||||
return bdev->bd_block_size;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче