aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2018-10-12 15:32:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-13 11:17:05 -0800
commitf3bc71fa0e6a9f4c3293f73f1cdd4d8ebf0f013e (patch)
tree3d6d25d66f0350ace7bff6c035b454bb0cf86b90 /drivers/md/raid10.c
parenta088035d99358bce2f84073c4b9857d2bd7d1d8f (diff)
btrfs: set max_extent_size properly
commit ad22cf6ea47fa20fbe11ac324a0a15c0a9a4a2a9 upstream. We can't use entry->bytes if our entry is a bitmap entry, we need to use entry->max_extent_size in that case. Fix up all the logic to make this consistent. CC: stable@vger.kernel.org # 4.4+ Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions