diff options
author | Sheng Yong <shengyong1@huawei.com> | 2018-01-29 19:13:15 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-13 08:05:29 +0900 |
commit | 0964fc1a82a310c2effb6722446b9cc86db55aa3 (patch) | |
tree | ff444adcacd5e5917e2668a563a18f336663b96e /fs/f2fs/gc.c | |
parent | bdbc90fa55af632f8a883a3d93c54a08708ed80a (diff) | |
download | linux-0964fc1a82a310c2effb6722446b9cc86db55aa3.tar.bz2 |
f2fs: fix potential corruption in area before F2FS_SUPER_OFFSET
sb_getblk does not guarantee the buffer head is uptodate. If bh is not
uptodate, the data (may be used as boot code) in area before
F2FS_SUPER_OFFSET may get corrupted when super block is committed.
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions