Commit c84c2424 authored by zangyangyang1's avatar zangyangyang1 Committed by Jaegeuk Kim
Browse files

f2fs: fix using wrong 'submitted' value in f2fs_write_cache_pages



When f2fs_write_single_data_page fails, f2fs_write_cache_pages
will use the last 'submitted' value incorrectly, which will cause
'nwritten' and 'wbc->nr_to_write' calculation errors

Signed-off-by: default avatarzangyangyang1 <zangyangyang1@xiaomi.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent e53c568f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment