History

[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

Matt Mackall committed 20 years ago

Commit 5d2bea41 parent b01ec0e1 file · +2 −2Browse files

Unified · Split

fs/inode.c+2−2
@@ -770,7 +770,7 @@ EXPORT_SYMBOL(igrab); · 769 unmodified lines
770770 *
771771 * Note, @test is called with the inode_lock held, so can't sleep.
772772 */
773−static inline struct inode *ifind(struct super_block *sb,
773+static struct inode *ifind(struct super_block *sb,
774774 struct hlist_head *head, int (*test)(struct inode *, void *),
775775 void *data, const int wait)
776776 {
@@ -804,7 +804,7 @@ static inline struct inode *ifind(struct super_block *sb, · 27 unmodified lines
804804 *
805805 * Otherwise NULL is returned.
806806 */
807−static inline struct inode *ifind_fast(struct super_block *sb,
807+static struct inode *ifind_fast(struct super_block *sb,
808808 struct hlist_head *head, unsigned long ino)
809809 {
810810 struct inode *inode;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t