linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] nilfs2: fix missing kernel-doc comments
@ 2024-04-10  7:56 Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 1/3] nilfs2: Add kernel-doc comments to nilfs_do_roll_forward() Ryusuke Konishi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ryusuke Konishi @ 2024-04-10  7:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, LKML

Hi Andrew,

please queue this series for the next merge cycle.

All of theses are to fill in missing kernel-doc comments or correct
missing argument descriptions.

Thanks,
Ryusuke Konishi

Yang Li (3):
  nilfs2: Add kernel-doc comments to nilfs_do_roll_forward()
  nilfs2: Add kernel-doc comments to nilfs_btree_convert_and_insert()
  nilfs2: Add kernel-doc comments to nilfs_remove_all_gcinodes()

 fs/nilfs2/btree.c    | 23 ++++++++++++++++-------
 fs/nilfs2/gcinode.c  |  1 +
 fs/nilfs2/recovery.c |  1 +
 3 files changed, 18 insertions(+), 7 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/3] nilfs2: Add kernel-doc comments to nilfs_do_roll_forward()
  2024-04-10  7:56 [PATCH 0/3] nilfs2: fix missing kernel-doc comments Ryusuke Konishi
@ 2024-04-10  7:56 ` Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 2/3] nilfs2: Add kernel-doc comments to nilfs_btree_convert_and_insert() Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 3/3] nilfs2: Add kernel-doc comments to nilfs_remove_all_gcinodes() Ryusuke Konishi
  2 siblings, 0 replies; 4+ messages in thread
From: Ryusuke Konishi @ 2024-04-10  7:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, LKML

From: Yang Li <yang.lee@linux.alibaba.com>

This commit adds kernel-doc style comments with complete parameter
descriptions for the function nilfs_do_roll_forward.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
---
 fs/nilfs2/recovery.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/nilfs2/recovery.c b/fs/nilfs2/recovery.c
index 49a70c68bf3c..e48372618ac4 100644
--- a/fs/nilfs2/recovery.c
+++ b/fs/nilfs2/recovery.c
@@ -563,6 +563,7 @@ static int nilfs_recover_dsync_blocks(struct the_nilfs *nilfs,
  * checkpoint
  * @nilfs: nilfs object
  * @sb: super block instance
+ * @root: NILFS root instance
  * @ri: pointer to a nilfs_recovery_info
  */
 static int nilfs_do_roll_forward(struct the_nilfs *nilfs,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] nilfs2: Add kernel-doc comments to nilfs_btree_convert_and_insert()
  2024-04-10  7:56 [PATCH 0/3] nilfs2: fix missing kernel-doc comments Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 1/3] nilfs2: Add kernel-doc comments to nilfs_do_roll_forward() Ryusuke Konishi
@ 2024-04-10  7:56 ` Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 3/3] nilfs2: Add kernel-doc comments to nilfs_remove_all_gcinodes() Ryusuke Konishi
  2 siblings, 0 replies; 4+ messages in thread
From: Ryusuke Konishi @ 2024-04-10  7:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, LKML

From: Yang Li <yang.lee@linux.alibaba.com>

This commit adds kernel-doc style comments with complete parameter
descriptions for the function nilfs_btree_convert_and_insert.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
---
 fs/nilfs2/btree.c | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c
index 65659fa0372e..a139970e4804 100644
--- a/fs/nilfs2/btree.c
+++ b/fs/nilfs2/btree.c
@@ -1857,13 +1857,22 @@ nilfs_btree_commit_convert_and_insert(struct nilfs_bmap *btree,
 }
 
 /**
- * nilfs_btree_convert_and_insert -
- * @bmap:
- * @key:
- * @ptr:
- * @keys:
- * @ptrs:
- * @n:
+ * nilfs_btree_convert_and_insert - Convert and insert entries into a B-tree
+ * @btree: NILFS B-tree structure
+ * @key: Key of the new entry to be inserted
+ * @ptr: Pointer (block number) associated with the key to be inserted
+ * @keys: Array of keys to be inserted in addition to @key
+ * @ptrs: Array of pointers associated with @keys
+ * @n: Number of keys and pointers in @keys and @ptrs
+ *
+ * This function is used to insert a new entry specified by @key and @ptr,
+ * along with additional entries specified by @keys and @ptrs arrays, into a
+ * NILFS B-tree.
+ * It prepares the necessary changes by allocating the required blocks and any
+ * necessary intermediate nodes. It converts configurations from other forms of
+ * block mapping (the one that currently exists is direct mapping) to a B-tree.
+ *
+ * Return: 0 on success or a negative error code on failure.
  */
 int nilfs_btree_convert_and_insert(struct nilfs_bmap *btree,
 				   __u64 key, __u64 ptr,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] nilfs2: Add kernel-doc comments to nilfs_remove_all_gcinodes()
  2024-04-10  7:56 [PATCH 0/3] nilfs2: fix missing kernel-doc comments Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 1/3] nilfs2: Add kernel-doc comments to nilfs_do_roll_forward() Ryusuke Konishi
  2024-04-10  7:56 ` [PATCH 2/3] nilfs2: Add kernel-doc comments to nilfs_btree_convert_and_insert() Ryusuke Konishi
@ 2024-04-10  7:56 ` Ryusuke Konishi
  2 siblings, 0 replies; 4+ messages in thread
From: Ryusuke Konishi @ 2024-04-10  7:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-nilfs, LKML

From: Yang Li <yang.lee@linux.alibaba.com>

This commit adds kernel-doc style comments with complete parameter
descriptions for the function nilfs_remove_all_gcinodes.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
---
 fs/nilfs2/gcinode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/nilfs2/gcinode.c b/fs/nilfs2/gcinode.c
index bf9a11d58817..1c9ae36a03ab 100644
--- a/fs/nilfs2/gcinode.c
+++ b/fs/nilfs2/gcinode.c
@@ -175,6 +175,7 @@ int nilfs_init_gcinode(struct inode *inode)
 
 /**
  * nilfs_remove_all_gcinodes() - remove all unprocessed gc inodes
+ * @nilfs: NILFS filesystem instance
  */
 void nilfs_remove_all_gcinodes(struct the_nilfs *nilfs)
 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-10  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10  7:56 [PATCH 0/3] nilfs2: fix missing kernel-doc comments Ryusuke Konishi
2024-04-10  7:56 ` [PATCH 1/3] nilfs2: Add kernel-doc comments to nilfs_do_roll_forward() Ryusuke Konishi
2024-04-10  7:56 ` [PATCH 2/3] nilfs2: Add kernel-doc comments to nilfs_btree_convert_and_insert() Ryusuke Konishi
2024-04-10  7:56 ` [PATCH 3/3] nilfs2: Add kernel-doc comments to nilfs_remove_all_gcinodes() Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).