aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2016-02-17 21:11:29 +0000
committerLinus Torvalds <[email protected]>2016-02-19 00:23:24 +0000
commit9273a8bbf58a15051e53a777389a502420ddc60e (patch)
treedbca348bd6669d01ff60d896aba9de9f2b26f7c0 /fs/jbd2/commit.c
parentmm/hugetlb.c: fix incorrect proc nr_hugepages value (diff)
downloadkernel-9273a8bbf58a15051e53a777389a502420ddc60e.tar.gz
kernel-9273a8bbf58a15051e53a777389a502420ddc60e.zip
devm_memremap_release(): fix memremap'd addr handling
The pmem driver calls devm_memremap() to map a persistent memory range. When the pmem driver is unloaded, this memremap'd range is not released so the kernel will leak a vma. Fix devm_memremap_release() to handle a given memremap'd address properly. Signed-off-by: Toshi Kani <[email protected]> Acked-by: Dan Williams <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions