Fix the following W=1 kernel warnings:
fs/btrfs/space-info.c:1601: warning: This comment starts with '/**', but
isn't a kernel-doc comment. Refer
Documentation/doc-guide/kernel-doc.rst.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
fs/btrfs/space-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c
index 2dd8754cb990..bd9ac89c9d6e 100644
--- a/fs/btrfs/space-info.c
+++ b/fs/btrfs/space-info.c
@@ -1598,7 +1598,7 @@ static int __reserve_bytes(struct btrfs_fs_info *fs_info,
}
/**
- * Trye to reserve metadata bytes from the block_rsv's space
+ * btrfs_reserve_metadata_bytes() - Trye to reserve metadata bytes from the block_rsv's space
*
* @fs_info: the filesystem
* @block_rsv: block_rsv we're allocating for
--
2.20.1.7.g153144c
Fix the following W=1 kernel warnings:
fs/btrfs/block-group.c:1731: warning: This comment starts with '/**',
but isn't a kernel-doc comment. Refer
Documentation/doc-guide/kernel-doc.rst.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
fs/btrfs/block-group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c
index 7bf10afab89c..9ab1a82aa600 100644
--- a/fs/btrfs/block-group.c
+++ b/fs/btrfs/block-group.c
@@ -1728,7 +1728,7 @@ static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags)
}
/**
- * Map a physical disk address to a list of logical addresses
+ * btrfs_rmap_block() - Map a physical disk address to a list of logical addresses
*
* @fs_info: the filesystem
* @chunk_start: logical address of block group
--
2.20.1.7.g153144c