diff options
author | Jan Kara <jack@suse.cz> | 2022-12-07 12:27:14 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-12-09 03:49:25 +0100 |
commit | e26355e21520e56732f58590b812ca619b88ac72 (patch) | |
tree | 069de1b46efd276f495a586461e9282092d2f75b /mm/migrate.c | |
parent | ext4: switch to using write_cache_pages() for data=journal writeout (diff) | |
download | linux-e26355e21520e56732f58590b812ca619b88ac72.tar.xz linux-e26355e21520e56732f58590b812ca619b88ac72.zip |
mm: export buffer_migrate_folio_norefs()
Ext4 needs this function to allow safe migration for journalled data
pages.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221207112722.22220-11-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r-- | mm/migrate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index dff333593a8a..5e4ca21da712 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -820,6 +820,7 @@ int buffer_migrate_folio_norefs(struct address_space *mapping, { return __buffer_migrate_folio(mapping, dst, src, mode, true); } +EXPORT_SYMBOL_GPL(buffer_migrate_folio_norefs); #endif int filemap_migrate_folio(struct address_space *mapping, |