[v2,1/6] fs/dcache: Remove stale comment from dentry_kill()
diff mbox

Message ID 20180222235025.28662-2-john.ogness@linutronix.de
State New
Headers show

Commit Message

John Ogness Feb. 22, 2018, 11:50 p.m. UTC
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>
 fs/dcache.c | 1 -
 1 file changed, 1 deletion(-)

diff mbox

diff --git a/fs/dcache.c b/fs/dcache.c
index 7c38f39958bc..3c7e0148b453 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -592,7 +592,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)