--- zzzz-none-000/linux-2.6.32.61/fs/dcache.c 2013-06-10 09:43:48.000000000 +0000 +++ virian-300e-630/linux-2.6.32.61/fs/dcache.c 2011-05-25 13:51:48.000000000 +0000 @@ -1550,7 +1550,7 @@ * Adds a dentry to the hash according to its name. */ -void d_rehash(struct dentry * entry) +inline void d_rehash(struct dentry * entry) { spin_lock(&dcache_lock); spin_lock(&entry->d_lock);