summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-02-23 00:50:20 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-12 16:59:13 +0100
commit06080d100d921848b35196850ec17310469e06ba (patch)
treeadcb735defb4c4286aa4ad62219163f3b88b3034 /fs/dcache.c
parenttake write_seqcount_invalidate() into __d_drop() (diff)
downloadlinux-06080d100d921848b35196850ec17310469e06ba.tar.xz
linux-06080d100d921848b35196850ec17310469e06ba.zip
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>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 78974248a148..9a83fc5f440c 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)