Skip to content
Commit 5c939df5 authored by Yan Zheng's avatar Yan Zheng Committed by Chris Mason
Browse files

btrfs: Fix set/clear_extent_bit for 'end == (u64)-1'



There are some 'start = state->end + 1;' like code in set_extent_bit
and clear_extent_bit. They overflow when end == (u64)-1.

Signed-off-by: default avatarYan Zheng <zheng.yan@oracle.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 07a2039b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment