Skip to content
Commit b89203f7 authored by Liu Bo's avatar Liu Bo Committed by Chris Mason
Browse files

Btrfs: fix eof while discarding extents



We miscalculate the length of extents we're discarding, and it leads to
an eof of device.

Reported-by: default avatarDaniel Blueman <daniel@quora.org>
Signed-off-by: default avatarLiu Bo <liubo2009@cn.fujitsu.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent d95603b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment