[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
@@ -598,7 +598,7 @@ static int dev_create(struct dm_ioctl *param, size_t param_size)
|
||||
/*
|
||||
* Always use UUID for lookups if it's present, otherwise use name or dev.
|
||||
*/
|
||||
static inline struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
|
||||
static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
|
||||
{
|
||||
if (*param->uuid)
|
||||
return __get_uuid_cell(param->uuid);
|
||||
@@ -608,7 +608,7 @@ static inline struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param)
|
||||
return dm_get_mdptr(huge_decode_dev(param->dev));
|
||||
}
|
||||
|
||||
static inline struct mapped_device *find_device(struct dm_ioctl *param)
|
||||
static struct mapped_device *find_device(struct dm_ioctl *param)
|
||||
{
|
||||
struct hash_cell *hc;
|
||||
struct mapped_device *md = NULL;
|
||||
|
Reference in New Issue
Block a user