diff --git a/fs/dcache.c b/fs/dcache.c index 385f5dbc4b0cc2ab36a76b2e747e9070930c384c..59dbc92c2079b88054c6f5852b5c7bd04cbd187c 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -359,12 +359,13 @@ void d_prune_aliases(struct inode *inode) } /* - * Throw away a dentry - free the inode, dput the parent. - * This requires that the LRU list has already been - * removed. + * Throw away a dentry - free the inode, dput the parent. This requires that + * the LRU list has already been removed. + * * Called with dcache_lock, drops it and then regains. + * Called with dentry->d_lock held, drops it. */ -static inline void prune_one_dentry(struct dentry * dentry) +static void prune_one_dentry(struct dentry * dentry) { struct dentry * parent;