[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250924193611.673838-1-kriish.sharma2006@gmail.com>
Date: Wed, 24 Sep 2025 19:36:11 +0000
From: Kriish Sharma <kriish.sharma2006@...il.com>
To: viro@...iv.linux.org.uk,
brauner@...nel.org,
jack@...e.cz
Cc: linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
david.hunter.linux@...il.com,
skhan@...uxfoundation.org,
Kriish Sharma <kriish.sharma2006@...il.com>
Subject: [PATCH] fs: doc: describe 'pinned' parameter in do_lock_mount()
The kernel-doc comment for do_lock_mount() was missing a description
for the 'pinned' parameter:
Warning: fs/namespace.c:2772 function parameter 'pinned' not described
in 'do_lock_mount'
This patch adds a short description:
@pinned: receives the pinned mountpoint
to fix the warning and improve documentation clarity.
Signed-off-by: Kriish Sharma <kriish.sharma2006@...il.com>
---
fs/namespace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/namespace.c b/fs/namespace.c
index 51f77c65c0c6..4de1a33ab516 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -2738,6 +2738,7 @@ static int attach_recursive_mnt(struct mount *source_mnt,
/**
* do_lock_mount - lock mount and mountpoint
* @path: target path
+ * @pinned: receives the pinned mountpoint
* @beneath: whether the intention is to mount beneath @path
*
* Follow the mount stack on @path until the top mount @mnt is found. If
--
2.34.1
Powered by blists - more mailing lists