mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] namei: drop the stale parent parameter from the end_removing kernel-doc
@ 2026-11-29  1:41 Nikolai Dokutovich
  0 siblings, 0 replies; only message in thread
From: Nikolai Dokutovich @ 2026-11-29  1:41 UTC (permalink / raw)
  To: Christian Brauner
  Cc: NeilBrown, linux-fsdevel, linux-kernel, Nikolai Dokutovich

end_removing() takes only @child; there is no @parent argument.  The
child returned by start_removing() already carries what the function
needs.

Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
---
 include/linux/namei.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/namei.h b/include/linux/namei.h
index c4436e5c2ba6..09868fda71ab 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -146,7 +146,6 @@ static inline struct dentry *end_creating_keep(struct dentry *child)
 /**
  * end_removing - finish action started with start_removing
  * @child:  dentry returned by start_removing()
- * @parent: dentry given to start_removing()
  *
  * Unlock and release the child.
  *
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-29  1:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29  1:41 [PATCH] namei: drop the stale parent parameter from the end_removing kernel-doc Nikolai Dokutovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®