diff options
author | Jan Kara <jack@suse.cz> | 2018-12-28 09:39:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-28 21:11:51 +0100 |
commit | 89cb0888ca1483ad72648844ddd1b801863a8949 (patch) | |
tree | 63b626652f16c12b700c74eff2527a37d36fab61 /samples | |
parent | mm: migrate: move migrate_page_lock_buffers() (diff) | |
download | linux-89cb0888ca1483ad72648844ddd1b801863a8949.tar.xz linux-89cb0888ca1483ad72648844ddd1b801863a8949.zip |
mm: migrate: provide buffer_migrate_page_norefs()
Provide a variant of buffer_migrate_page() that also checks whether there
are no unexpected references to buffer heads. This function will then be
safe to use for block device pages.
[akpm@linux-foundation.org: remove EXPORT_SYMBOL(buffer_migrate_page_norefs)]
Link: http://lkml.kernel.org/r/20181211172143.7358-5-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions