]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add an assert to btrfs_lookup_csums_range for alignment
authorJosef Bacik <jbacik@fusionio.com>
Tue, 15 Oct 2013 13:36:40 +0000 (09:36 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 02:58:45 +0000 (21:58 -0500)
commit8e99580a16c36be66f0cae60e6921662385ae847
treec87563bb9b275aa6cbd4c06ba64a7cdd98b68c27
parent8d345f6c0b474ea1448d98a7b1c2a621a215ba58
Btrfs: add an assert to btrfs_lookup_csums_range for alignment

I was hitting weird issues when trying to remove hole extents and it turned out
it was because I was sending non-aligned offsets down to
btrfs_lookup_csums_range.  So add an assert for this in case somebody trips over
this in the future.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/file-item.c