diff mbox series

[RFC,1/4] fs: remove comment about d_rcu_to_refcount

Message ID 20240802-openfast-v1-1-a1cff2a33063@kernel.org (mailing list archive)
State New
Headers show
Series fs: try an opportunistic lookup for O_CREAT opens too | expand

Commit Message

Jeff Layton Aug. 2, 2024, 9:45 p.m. UTC
This function no longer exists.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/dcache.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/fs/dcache.c b/fs/dcache.c
index 4c144519aa70..474c5205a3db 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2160,9 +2160,6 @@  static noinline struct dentry *__d_lookup_rcu_op_compare(
  * without taking d_lock and checking d_seq sequence count against @seq
  * returned here.
  *
- * A refcount may be taken on the found dentry with the d_rcu_to_refcount
- * function.
- *
  * Alternatively, __d_lookup_rcu may be called again to look up the child of
  * the returned dentry, so long as its parent's seqlock is checked after the
  * child is looked up. Thus, an interlocking stepping of sequence lock checks