浏览代码

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 <john.ogness@linutronix.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
John Ogness 7 年之前
父节点
当前提交
06080d100d
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/dcache.c

+ 0 - 1
fs/dcache.c

@@ -591,7 +591,6 @@ static void __dentry_kill(struct dentry *dentry)
 /*
 /*
  * Finish off a dentry we've decided to kill.
  * Finish off a dentry we've decided to kill.
  * dentry->d_lock must be held, returns with it unlocked.
  * 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.
  * Returns dentry requiring refcount drop, or NULL if we're done.
  */
  */
 static struct dentry *dentry_kill(struct dentry *dentry)
 static struct dentry *dentry_kill(struct dentry *dentry)