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)
commit84ade7c15ccfb46f852f4e2469b007a33651904d
tree604ec38bbe61f2a7f8010b00ef8cd45b457742f8
parentcc4f11e69fd00c61c38619759b07d00631bda5ca
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