inode_link_count(): Mark as inline
authorEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 18:47:37 +0000 (12:47 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 18:47:37 +0000 (12:47 -0600)
src/hardlink.c

index 2fd3857018c19be0e21044ef37af1c7e8fcf2a99..007e744dff5b719b3c1f7e3056a254aecd4416f2 100644 (file)
@@ -66,7 +66,7 @@ int init_inode_table(struct inode_table *table, size_t capacity)
 }
 
 
-static size_t inode_link_count(const struct inode *inode)
+static inline size_t inode_link_count(const struct inode *inode)
 {
        const struct list_head *cur;
        size_t size = 0;