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 2fd3857..007e744 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;