diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-09 16:07:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:12 +0200 |
commit | f11369897ed4f8609cdee00d3af47c18fe6bda29 (patch) | |
tree | 2e8432db54f8581b6150eb1ec1930fac2eb82615 /fs/jffs2/os-linux.h | |
parent | btrfs: dev stat drop useless goto (diff) | |
download | linux-f11369897ed4f8609cdee00d3af47c18fe6bda29.tar.xz linux-f11369897ed4f8609cdee00d3af47c18fe6bda29.zip |
btrfs: fix error pointer check in __btrfs_map_block()
The btrfs_get_chunk_map() never returns NULL, it returns error pointers.
Fixes: 89b798ad1b42 ("btrfs: Use btrfs_get_io_geometry appropriately")
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/jffs2/os-linux.h')
0 files changed, 0 insertions, 0 deletions