commit | ad22cf6ea47fa20fbe11ac324a0a15c0a9a4a2a9 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Fri Oct 12 15:32:33 2018 -0400 |
committer | David Sterba <dsterba@suse.com> | Fri Oct 19 12:20:03 2018 +0200 |
tree | 20bda2ef98b59c3dfde217784dea4caccbe9573b | |
parent | 21a94f7acf0f748599ea552af5d9ee7d7e41c72f [diff] |
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>