mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
btrfs: document modified parameter of add_extent_mapping
Fixes fs/btrfs/extent_map.c:399: warning: Function parameter or member 'modified' not described in 'add_extent_mapping' Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
3c198fe064
commit
401bd2dd12
1 changed files with 4 additions and 1 deletions
|
@ -385,9 +385,12 @@ static void extent_map_device_clear_bits(struct extent_map *em, unsigned bits)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* add_extent_mapping - add new extent map to the extent tree
|
* Add new extent map to the extent tree
|
||||||
|
*
|
||||||
* @tree: tree to insert new map in
|
* @tree: tree to insert new map in
|
||||||
* @em: map to insert
|
* @em: map to insert
|
||||||
|
* @modified: indicate whether the given @em should be added to the
|
||||||
|
* modified list, which indicates the extent needs to be logged
|
||||||
*
|
*
|
||||||
* Insert @em into @tree or perform a simple forward/backward merge with
|
* Insert @em into @tree or perform a simple forward/backward merge with
|
||||||
* existing mappings. The extent_map struct passed in will be inserted
|
* existing mappings. The extent_map struct passed in will be inserted
|
||||||
|
|
Loading…
Reference in a new issue