Commit 5d2bea45 authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[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: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b01ec0ef
...@@ -770,7 +770,7 @@ EXPORT_SYMBOL(igrab); ...@@ -770,7 +770,7 @@ EXPORT_SYMBOL(igrab);
* *
* Note, @test is called with the inode_lock held, so can't sleep. * Note, @test is called with the inode_lock held, so can't sleep.
*/ */
static inline struct inode *ifind(struct super_block *sb, static struct inode *ifind(struct super_block *sb,
struct hlist_head *head, int (*test)(struct inode *, void *), struct hlist_head *head, int (*test)(struct inode *, void *),
void *data, const int wait) void *data, const int wait)
{ {
...@@ -804,7 +804,7 @@ static inline struct inode *ifind(struct super_block *sb, ...@@ -804,7 +804,7 @@ static inline struct inode *ifind(struct super_block *sb,
* *
* Otherwise NULL is returned. * Otherwise NULL is returned.
*/ */
static inline struct inode *ifind_fast(struct super_block *sb, static struct inode *ifind_fast(struct super_block *sb,
struct hlist_head *head, unsigned long ino) struct hlist_head *head, unsigned long ino)
{ {
struct inode *inode; struct inode *inode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment