mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
f2fs: use ->writepage in sync_meta_pages
This patch uses ->writepage of meta mapping in sync_meta_pages instead of f2fs_write_meta_page, by this way, in its caller we can ignore any changes (e.g. changing name) of this registered function. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
3b4d732a56
commit
97dc3fd2cb
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ continue_unlock:
|
|||
if (!clear_page_dirty_for_io(page))
|
||||
goto continue_unlock;
|
||||
|
||||
if (f2fs_write_meta_page(page, &wbc)) {
|
||||
if (mapping->a_ops->writepage(page, &wbc)) {
|
||||
unlock_page(page);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue