]> git.itanic.dy.fi Git - linux-stable/commit
dax: Cleanup extra dax_region references
authorDan Williams <dan.j.williams@intel.com>
Sat, 3 Jun 2023 06:14:11 +0000 (23:14 -0700)
committerVishal Verma <vishal.l.verma@intel.com>
Fri, 23 Jun 2023 07:03:50 +0000 (01:03 -0600)
commit2532f41607c4308733239dd43278f8a5540f3ec7
tree6e43c94541c871b5e8cbd60bcddad92816e79263
parent70aab281e18c68a1284bc387de127c2fc0bed3f8
dax: Cleanup extra dax_region references

Now that free_dev_dax_id() internally manages the references it needs
the extra references taken by the dax_region drivers are not needed.

Reported-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/168577285161.1672036.8111253437794419696.stgit@dwillia2-xfh.jf.intel.com
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
drivers/dax/bus.c
drivers/dax/bus.h
drivers/dax/cxl.c
drivers/dax/hmem/hmem.c
drivers/dax/pmem.c