diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-02-16 16:19:22 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-03-03 09:58:44 -0800 |
commit | 97dc3fd2cbbf6dac239333083a8a005bf50c96e8 (patch) | |
tree | f64bf7eca81da7edab0c820c6645dfd8d2a50ed4 /fs/f2fs/checkpoint.c | |
parent | 3b4d732a568432039af71809f9cad69565f00bed (diff) | |
download | linux-stable-97dc3fd2cbbf6dac239333083a8a005bf50c96e8.tar.gz linux-stable-97dc3fd2cbbf6dac239333083a8a005bf50c96e8.tar.bz2 linux-stable-97dc3fd2cbbf6dac239333083a8a005bf50c96e8.zip |
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>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r-- | fs/f2fs/checkpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 7f794b72b3b7..6faffce01869 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -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; } |