Skip to content
Snippets Groups Projects
user avatar
Zhen Lei authored
Swap the calling sequence of krealloc() and __request_region(), call the
latter first. In this way, the value of dev_dax->nr_range does not need to
be considered when __request_region() failed.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201219081840.1149-2-thunder.leizhen@huawei.com


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
ff8da37d
Name Last commit Last update