fs/dcache: Remove stale comment from dentry_kill()
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 22 Feb 2018 23:50:20 +0000 (00:50 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 12 Mar 2018 15:59:13 +0000 (11:59 -0400)
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 <john.ogness@linutronix.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c

index 78974248a1484dc28d223ba6112408606b78952e..9a83fc5f440cf72fc650cd78586b2caa9bba6834 100644 (file)
@@ -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)