[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b0a9499c3d
commit
858119e159
4
fs/bio.c
4
fs/bio.c
@ -123,7 +123,7 @@ static void bio_fs_destructor(struct bio *bio)
|
||||
bio_free(bio, fs_bio_set);
|
||||
}
|
||||
|
||||
inline void bio_init(struct bio *bio)
|
||||
void bio_init(struct bio *bio)
|
||||
{
|
||||
bio->bi_next = NULL;
|
||||
bio->bi_bdev = NULL;
|
||||
@ -253,7 +253,7 @@ inline int bio_hw_segments(request_queue_t *q, struct bio *bio)
|
||||
* the actual data it points to. Reference count of returned
|
||||
* bio will be one.
|
||||
*/
|
||||
inline void __bio_clone(struct bio *bio, struct bio *bio_src)
|
||||
void __bio_clone(struct bio *bio, struct bio *bio_src)
|
||||
{
|
||||
request_queue_t *q = bdev_get_queue(bio_src->bi_bdev);
|
||||
|
||||
|
Reference in New Issue
Block a user