]> Git Repo - linux.git/commit
memremap: don't use a separate devm action for devmap_managed_enable_get
authorChristoph Hellwig <[email protected]>
Sun, 18 Aug 2019 09:05:56 +0000 (11:05 +0200)
committerJason Gunthorpe <[email protected]>
Tue, 20 Aug 2019 12:41:35 +0000 (09:41 -0300)
commit6f42193fd86eb5eb518984032c85e9b5582b7625
tree0087427aa44d658bfd44079acfb14052426fd732
parentfdc029b19dfd190840d23e5c70bd231140b0e4a4
memremap: don't use a separate devm action for devmap_managed_enable_get

Just clean up for early failures and then piggy back on
devm_memremap_pages_release.  This helps with a pending not device managed
version of devm_memremap_pages.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Tested-by: Bharata B Rao <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
kernel/memremap.c
This page took 0.052336 seconds and 4 git commands to generate.