From: Nikolay Borisov Date: Fri, 22 Jan 2021 09:57:52 +0000 (+0200) Subject: btrfs: document modified parameter of add_extent_mapping X-Git-Tag: accepted/tizen/unified/20230118.172025~7495^2~157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=401bd2dd1299dd384849707c6577b2089ab9f615;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Nikolay Borisov Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index bd6229f..8bda6c8 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c @@ -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 * @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 * existing mappings. The extent_map struct passed in will be inserted