]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: update the comment for find_first_extent_bit
authorQu Wenruo <wqu@suse.com>
Wed, 21 Oct 2020 06:24:50 +0000 (14:24 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:53:53 +0000 (15:53 +0100)
commit5fe926a5be9740e19fa5eda9df9e6e9e2ee95bac
treeb21063d354fd7e15cb1b4d47f92209f96cbb1317
parent868138d1b0a57d730b2699c526d08ecbe62920d4
btrfs: update the comment for find_first_extent_bit

The pitfall here is, if the parameter @bits has multiple bits set, we
will return the first range which just has one of the specified bits
set.

This is a little tricky if we want an exact match.  Anyway, update the
comment to make that clear.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c