Skip to content
Commit 8d599ae1 authored by David Sterba's avatar David Sterba Committed by Josef Bacik
Browse files

btrfs: add debug check for extent_io range alignment



The 'end' value must exactly cover the end of the interval, which means
one byte less than the expected block alignment, or in case of a file
smaller than one block, one byte less than the inode size.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 15b0a89d
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