mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
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>
This commit is contained in:
parent
49977f9762
commit
e26355e215
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user