X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fdcache.c;h=59dbc92c2079b88054c6f5852b5c7bd04cbd187c;hb=d702ccb342e49f7591df5a87c3857c698183b0fa;hp=385f5dbc4b0cc2ab36a76b2e747e9070930c384c;hpb=0feae5c47aabdde59cbbec32d150e17102de37f0;p=powerpc.git diff --git a/fs/dcache.c b/fs/dcache.c index 385f5dbc4b..59dbc92c20 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -359,12 +359,13 @@ restart: } /* - * 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;