diff options
author | 2019-08-19 12:58:14 +0300 | |
---|---|---|
committer | 2019-08-21 11:29:30 -0400 | |
commit | e0702d90b79d430b0ccc276ead4f88440bb51352 (patch) | |
tree | b17e17974d90b94e415b17e3220834dbc8c13974 /scripts/gdb/linux/utils.py | |
parent | dm dust: use dust block size for badblocklist index (diff) | |
download | wireguard-linux-e0702d90b79d430b0ccc276ead4f88440bb51352.tar.xz wireguard-linux-e0702d90b79d430b0ccc276ead4f88440bb51352.zip |
dm zoned: fix potential NULL dereference in dmz_do_reclaim()
This function is supposed to return error pointers so it matches the
dmz_get_rnd_zone_for_reclaim() function. The current code could lead to
a NULL dereference in dmz_do_reclaim()
Fixes: b234c6d7a703 ("dm zoned: improve error handling in reclaim")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions