[PATCH RFC 1/4] fs: remove comment about d_rcu_to_refcount
From: Jeff Layton
Date: Fri Aug 02 2024 - 17:46:29 EST
This function no longer exists.
Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
fs/dcache.c | 3 ---
1 file changed, 3 deletions(-)
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
--
2.45.2