]> git.baikalelectronics.ru Git - kernel.git/commit
dax: Remove usage of the deprecated ida_simple_xxx API
authorBo Liu <liubo03@inspur.com>
Mon, 26 Sep 2022 01:26:35 +0000 (21:26 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 30 Sep 2022 00:29:27 +0000 (17:29 -0700)
commitcad933cc71195f3969a749abb1b4a66c0b2b5668
tree2f34cdf49a01830d302fdd514fd9ec2d7633f75d
parent6d322ec35082930ed56c6133802b013eda1e9fcb
dax: Remove usage of the deprecated ida_simple_xxx API

ida_alloc_max() makes it clear that the second argument is inclusive,
and the alloc/free terminology is more idiomatic and symmetric then
get/remove.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220926012635.3205-1-liubo03@inspur.com
[djbw: reword changelog]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c