diff options
author | 2020-06-03 16:01:09 -0700 | |
---|---|---|
committer | 2020-06-03 20:09:47 -0700 | |
commit | ff45fc3ca0f3c38e752d75f71b8d8efcf409e42d (patch) | |
tree | 0292da2a5339e202658028ead79cf4f2bb791749 /mm/filemap.c | |
parent | mm/hugetlb: define a generic fallback for arch_clear_hugepage_flags() (diff) | |
download | wireguard-linux-ff45fc3ca0f3c38e752d75f71b8d8efcf409e42d.tar.xz wireguard-linux-ff45fc3ca0f3c38e752d75f71b8d8efcf409e42d.zip |
mm: simplify calling a compound page destructor
None of the three callers of get_compound_page_dtor() want to know the
value; they just want to call the function. Replace it with
destroy_compound_page() which calls the dtor for them.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20200517105051.9352-1-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions