diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-07-17 18:31:53 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-07-30 13:51:36 -0700 |
commit | d60f1f3a6850c49ab7625b5575dc79984047c20c (patch) | |
tree | 37485998c18ce770233616870c09ad593f47b67c /arch | |
parent | ce59b006256b32340c170028c7985624b55590e0 (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 <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions