diff options
author | Josef Bacik <jbacik@fb.com> | 2018-10-12 21:32:33 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-19 12:20:03 +0200 |
commit | ad22cf6ea47fa20fbe11ac324a0a15c0a9a4a2a9 (patch) | |
tree | 20bda2ef98b59c3dfde217784dea4caccbe9573b /drivers/sn | |
parent | btrfs: reset max_extent_size properly (diff) | |
download | linux-ad22cf6ea47fa20fbe11ac324a0a15c0a9a4a2a9.tar.xz linux-ad22cf6ea47fa20fbe11ac324a0a15c0a9a4a2a9.zip |
btrfs: set max_extent_size properly
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>
Diffstat (limited to 'drivers/sn')
0 files changed, 0 insertions, 0 deletions