summaryrefslogtreecommitdiff
path: root/mm/fadvise.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-21 09:27:38 +0100
commitbddfd0a2d61e3f627b50d88b713769583f7d7b03 (patch)
treed2a7bd5d32963424baed606415f7f8d977e5e4bc /mm/fadvise.c
parentb38ace86f35a95e7e91f73dd2524da1fd7c3bc35 (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 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions