diff options
author | Jan Kara <jack@suse.cz> | 2018-12-28 00:39:12 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-12-28 12:11:51 -0800 |
commit | 89cb0888ca1483ad72648844ddd1b801863a8949 (patch) | |
tree | 63b626652f16c12b700c74eff2527a37d36fab61 /lib/locking-selftest-wlock-softirq.h | |
parent | 84ade7c15ccfb46f852f4e2469b007a33651904d (diff) | |
download | linux-89cb0888ca1483ad72648844ddd1b801863a8949.tar.gz linux-89cb0888ca1483ad72648844ddd1b801863a8949.tar.bz2 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 'lib/locking-selftest-wlock-softirq.h')
0 files changed, 0 insertions, 0 deletions