Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a8c450b2 authored by Chris Mason's avatar Chris Mason Committed by David Woodhouse
Browse files

Btrfs: Reorder tests in set_extent_bit to properly find holes



Yan Zheng noticed that set_extent_bit was exiting too early when there
was a hole in the map.  The fix is to reorder the tests to check for the
hole first.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 011410bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment