You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: b234c6d ("dm zoned: improve error handling in reclaim")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Dmitry Fomichev <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
0 commit comments