commit | 76e049df13b2b336e34f05a30968e0f056a9873d | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <[email protected]> | Wed Jul 17 18:31:53 2019 -0700 |
committer | Jaegeuk Kim <[email protected]> | Tue Jul 30 13:53:11 2019 -0700 |
tree | 7b9f15997800429805e06fac69fc048c6250d67b | |
parent | 581ecf0e429474b63d86f45e1461bd93f2b82772 [diff] |
f2fs: fix to read source block before invalidating it f2fs_allocate_data_block() invalidates old block address and enable new block address. Then, if we try to read old block by f2fs_submit_page_bio(), it will give WARN due to reading invalid blocks. Let's make the order sanely back. Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>