diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-01-14 16:20:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 21:27:06 -0500 |
commit | 858119e159384308a5dde67776691a2ebf70df0f (patch) | |
tree | f360768f999d51edc0863917ce0bf79e88c0ec4c /fs/buffer.c | |
parent | b0a9499c3dd50d333e2aedb7e894873c58da3785 (diff) |
[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>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index b9bb7ad6897b..7cdf48a9a501 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -1165,7 +1165,7 @@ failed: | |||
1165 | * some of those buffers may be aliases of filesystem data. | 1165 | * some of those buffers may be aliases of filesystem data. |
1166 | * grow_dev_page() will go BUG() if this happens. | 1166 | * grow_dev_page() will go BUG() if this happens. |
1167 | */ | 1167 | */ |
1168 | static inline int | 1168 | static int |
1169 | grow_buffers(struct block_device *bdev, sector_t block, int size) | 1169 | grow_buffers(struct block_device *bdev, sector_t block, int size) |
1170 | { | 1170 | { |
1171 | struct page *page; | 1171 | struct page *page; |
@@ -1391,7 +1391,7 @@ static void bh_lru_install(struct buffer_head *bh) | |||
1391 | /* | 1391 | /* |
1392 | * Look up the bh in this cpu's LRU. If it's there, move it to the head. | 1392 | * Look up the bh in this cpu's LRU. If it's there, move it to the head. |
1393 | */ | 1393 | */ |
1394 | static inline struct buffer_head * | 1394 | static struct buffer_head * |
1395 | lookup_bh_lru(struct block_device *bdev, sector_t block, int size) | 1395 | lookup_bh_lru(struct block_device *bdev, sector_t block, int size) |
1396 | { | 1396 | { |
1397 | struct buffer_head *ret = NULL; | 1397 | struct buffer_head *ret = NULL; |
@@ -1541,7 +1541,7 @@ EXPORT_SYMBOL(set_bh_page); | |||
1541 | /* | 1541 | /* |
1542 | * Called when truncating a buffer on a page completely. | 1542 | * Called when truncating a buffer on a page completely. |
1543 | */ | 1543 | */ |
1544 | static inline void discard_buffer(struct buffer_head * bh) | 1544 | static void discard_buffer(struct buffer_head * bh) |
1545 | { | 1545 | { |
1546 | lock_buffer(bh); | 1546 | lock_buffer(bh); |
1547 | clear_buffer_dirty(bh); | 1547 | clear_buffer_dirty(bh); |