Commit 1b1a8523 authored by zangyangyang1's avatar zangyangyang1 Committed by Treehugger Robot
Browse files

UPSTREAM: 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

Change-Id: I8818719f99cef08d73b08188c6d6dbbebeea019a
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>
(cherry picked from commit c84c2424)
parent 54d214db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment