]> git.baikalelectronics.ru Git - kernel.git/commit
mm: migrate: move migrate_page_lock_buffers()
authorJan Kara <jack@suse.cz>
Fri, 28 Dec 2018 08:39:09 +0000 (00:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:51 +0000 (12:11 -0800)
commit663742119f0fa7c02ad559024c32d10c2cbd31a8
tree604ec38bbe61f2a7f8010b00ef8cd45b457742f8
parenta5d8d789524492f6319c1ee70c8d9b28a2873b6f
mm: migrate: move migrate_page_lock_buffers()

buffer_migrate_page() is the only caller of migrate_page_lock_buffers()
move it close to it and also drop the now unused stub for !CONFIG_BLOCK.

Link: http://lkml.kernel.org/r/20181211172143.7358-4-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>
mm/migrate.c