diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-07-17 18:31:53 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-07-26 17:49:04 -0700 |
commit | 543b8c468f55f27f3c0178a22a91a51aabbbc428 (patch) | |
tree | 34ccdff9b2ee2dbde59707c0be74369afc1f0881 /fs/pstore | |
parent | d5e5efa250cd644896f541551610fe7f0de35e0a (diff) | |
download | linux-543b8c468f55f27f3c0178a22a91a51aabbbc428.tar.bz2 |
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 'fs/pstore')
0 files changed, 0 insertions, 0 deletions