From: John Ogness Date: Thu, 22 Feb 2018 23:50:20 +0000 (+0100) Subject: fs/dcache: Remove stale comment from dentry_kill() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06080d100d921848b35196850ec17310469e06ba;p=linux.git fs/dcache: Remove stale comment from dentry_kill() Commit 0d98439ea3c6 ("vfs: use lockred "dead" flag to mark unrecoverably dead dentries") removed the `ref' parameter in dentry_kill() but its documentation remained. Remove it. Signed-off-by: John Ogness Signed-off-by: Al Viro --- diff --git a/fs/dcache.c b/fs/dcache.c index 78974248a1484..9a83fc5f440cf 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -591,7 +591,6 @@ static void __dentry_kill(struct dentry *dentry) /* * Finish off a dentry we've decided to kill. * dentry->d_lock must be held, returns with it unlocked. - * If ref is non-zero, then decrement the refcount too. * Returns dentry requiring refcount drop, or NULL if we're done. */ static struct dentry *dentry_kill(struct dentry *dentry)