summaryrefslogtreecommitdiff
path: root/include/drm/drm_mm.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-02-18 19:57:26 +0300
committerDavid Sterba <dsterba@suse.com>2019-02-25 16:19:23 +0300
commitcbca7d59fea4e81ee3bf724cf20018f96d53ccea (patch)
treec3a896b5ab18e6d1054e3a30b0408d91d1d3bfa2 /include/drm/drm_mm.h
parent669e859b5ea7c6f4fce0149d3907c64e550c294b (diff)
downloadlinux-cbca7d59fea4e81ee3bf724cf20018f96d53ccea.tar.xz
Btrfs: add missing error handling after doing leaf/node binary search
The function map_private_extent_buffer() can return an -EINVAL error, and it is called by generic_bin_search() which will return back the error. The btrfs_bin_search() function in turn calls generic_bin_search() and the key_search() function calls btrfs_bin_search(), so both can return the -EINVAL error coming from the map_private_extent_buffer() function. Some callers of these functions were ignoring that these functions can return an error, so fix them to deal with error return values. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/drm/drm_mm.h')
0 files changed, 0 insertions, 0 deletions