aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-10-14 17:23:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 07:49:08 -0800
commit63e431def463a8c620d1b03c77d440c6903917d1 (patch)
treecbdd599b24cac6fb1bd138ef22663f7e458a649a /scripts/patch-kernel
parent4ae8656075c351ba3a3aefc923550ef2b7280164 (diff)
Btrfs: fix hole check in log_one_extent
commit ed9e8af88e2551aaa6bf51d8063a2493e2d71597 upstream. I added an assert to make sure we were looking up aligned offsets for csums and I tripped it when running xfstests. This is because log_one_extent was checking if block_start == 0 for a hole instead of EXTENT_MAP_HOLE. This worked out fine in practice it seems, but it adds a lot of extra work that is uneeded. With this fix I'm no longer tripping my assert. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions