commit | 0964fc1a82a310c2effb6722446b9cc86db55aa3 | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Mon Jan 29 19:13:15 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Mar 13 08:05:29 2018 +0900 |
tree | ff444adcacd5e5917e2668a563a18f336663b96e | |
parent | bdbc90fa55af632f8a883a3d93c54a08708ed80a [diff] |
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>