summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-06-23 22:48:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-06-23 22:48:48 -0700
commit63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2 (patch)
tree8ead21ef2c7e84bcd30511d50925416018abd93e /mm
parent0bf0ea431f84bcf34facc5b1f792d000f5957565 (diff)
parent4ac1c17b2044a1b4b2fbed74451947e905fc2992 (diff)
downloadop-kernel-dev-63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2.zip
op-kernel-dev-63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2.tar.gz
Merge tag 'upstream-4.7-rc5' of git://git.infradead.org/linux-ubifs
Pull UBI/UBIFS fixes from Richard Weinberger: "This contains fixes for two critical bugs in UBI and UBIFS: - fix the possibility of losing data upon a power cut when UBI tries to recover from a write error - fix page migration on UBIFS. It turned out that the default page migration function is not suitable for UBIFS" * tag 'upstream-4.7-rc5' of git://git.infradead.org/linux-ubifs: UBIFS: Implement ->migratepage() mm: Export migrate_page_move_mapping and migrate_page_copy ubi: Make recover_peb power cut aware gpio: make library immune to error pointers gpio: make sure gpiod_to_irq() returns negative on NULL desc gpio: 104-idi-48: Fix missing spin_lock_init for ack_lock
Diffstat (limited to 'mm')
-rw-r--r--mm/migrate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 9baf41c..bd3fdc2 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -431,6 +431,7 @@ int migrate_page_move_mapping(struct address_space *mapping,
return MIGRATEPAGE_SUCCESS;
}
+EXPORT_SYMBOL(migrate_page_move_mapping);
/*
* The expected number of remaining references is the same as that
@@ -586,6 +587,7 @@ void migrate_page_copy(struct page *newpage, struct page *page)
mem_cgroup_migrate(page, newpage);
}
+EXPORT_SYMBOL(migrate_page_copy);
/************************************************************
* Migration functions
OpenPOWER on IntegriCloud