summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2018-01-29 19:13:15 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 08:05:29 +0900
commit0964fc1a82a310c2effb6722446b9cc86db55aa3 (patch)
treeff444adcacd5e5917e2668a563a18f336663b96e /fs/f2fs/gc.c
parentbdbc90fa55af632f8a883a3d93c54a08708ed80a (diff)
downloadlinux-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