Skip to content
Commit 84850e8d authored by Yan, Zheng's avatar Yan, Zheng Committed by David Sterba
Browse files

btrfs: check file extent backref offset underflow



Offset field in data extent backref can underflow if clone range ioctl
is used. We can reliably detect the underflow because max file size is
limited to 2^63 and max data extent size is limited by block group size.

Signed-off-by: default avatarZheng Yan <zheng.z.yan@intel.com>
parent 016fc6a6
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