summaryrefslogtreecommitdiff
path: root/fs/btrfs/block-group.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2021-01-22 11:57:58 +0200
committerDavid Sterba <dsterba@suse.com>2021-02-08 22:58:53 +0100
commit9ee9b97990d6eff9cea64303c640dfb4b3a40253 (patch)
treed818de4b69cbd5a0547a3add7b4635371bfb4761 /fs/btrfs/block-group.c
parent92419695478b6a75ca85e9f8e06b08a4a35bfb20 (diff)
downloadlwn-9ee9b97990d6eff9cea64303c640dfb4b3a40253.tar.gz
lwn-9ee9b97990d6eff9cea64303c640dfb4b3a40253.zip
btrfs: document fs_info in btrfs_rmap_block
Fixes fs/btrfs/block-group.c:1570: warning: Function parameter or member 'fs_info' not described in 'btrfs_rmap_block' Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.c')
-rw-r--r--fs/btrfs/block-group.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c
index 48ebc106a606..2d7294d81616 100644
--- a/fs/btrfs/block-group.c
+++ b/fs/btrfs/block-group.c
@@ -1561,7 +1561,9 @@ static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags)
}
/**
- * btrfs_rmap_block - Map a physical disk address to a list of logical addresses
+ * Map a physical disk address to a list of logical addresses
+ *
+ * @fs_info: the filesystem
* @chunk_start: logical address of block group
* @physical: physical address to map to logical addresses
* @logical: return array of logical addresses which map to @physical