diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-10-14 17:23:08 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 21:58:32 -0500 |
commit | ed9e8af88e2551aaa6bf51d8063a2493e2d71597 (patch) | |
tree | daa194a93bdc98932618392c66f1d8410e44238c /fs/jfs | |
parent | 0e30db86a4524f9e655e8cb9335b4da1787db3c1 (diff) | |
download | op-kernel-dev-ed9e8af88e2551aaa6bf51d8063a2493e2d71597.zip op-kernel-dev-ed9e8af88e2551aaa6bf51d8063a2493e2d71597.tar.gz |
Btrfs: fix hole check in log_one_extent
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>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions