diff options
author | Matt Mackall <mpm@selenic.com> | 2006-01-08 04:05:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:14:10 -0500 |
commit | 5d2bea4582d20cb24085152acaa29b95c05cdcf8 (patch) | |
tree | 0ac4e47c8e97ecd3d76507c57ed4346c04a4dba1 /fs | |
parent | b01ec0ef63e95570e2463b26333d9c9c854cb941 (diff) |
[PATCH] tiny: Uninline some inode.c functions
uninline a couple inode.c functions
add/remove: 2/0 grow/shrink: 0/5 up/down: 256/-428 (-172)
function old new delta
ifind - 136 +136
ifind_fast - 120 +120
ilookup5_nowait 131 80 -51
ilookup 158 71 -87
ilookup5 171 80 -91
iget_locked 190 95 -95
iget5_locked 240 136 -104
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c index d8d04bd72b59..fd568caf7f74 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -770,7 +770,7 @@ EXPORT_SYMBOL(igrab); | |||
770 | * | 770 | * |
771 | * Note, @test is called with the inode_lock held, so can't sleep. | 771 | * Note, @test is called with the inode_lock held, so can't sleep. |
772 | */ | 772 | */ |
773 | static inline struct inode *ifind(struct super_block *sb, | 773 | static struct inode *ifind(struct super_block *sb, |
774 | struct hlist_head *head, int (*test)(struct inode *, void *), | 774 | struct hlist_head *head, int (*test)(struct inode *, void *), |
775 | void *data, const int wait) | 775 | void *data, const int wait) |
776 | { | 776 | { |
@@ -804,7 +804,7 @@ static inline struct inode *ifind(struct super_block *sb, | |||
804 | * | 804 | * |
805 | * Otherwise NULL is returned. | 805 | * Otherwise NULL is returned. |
806 | */ | 806 | */ |
807 | static inline struct inode *ifind_fast(struct super_block *sb, | 807 | static struct inode *ifind_fast(struct super_block *sb, |
808 | struct hlist_head *head, unsigned long ino) | 808 | struct hlist_head *head, unsigned long ino) |
809 | { | 809 | { |
810 | struct inode *inode; | 810 | struct inode *inode; |