btrfs: add debug check for extent_io range alignment
authorDavid Sterba <dsterba@suse.cz>
Tue, 30 Apr 2013 15:22:23 +0000 (15:22 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:15 +0000 (11:29 -0400)
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: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent_io.c

Simple merge