summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2018-01-29 19:13:15 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-04-08 03:15:33 -0700
commit39575737bb62fc391c8cc8ea5dfea09daed57d5d (patch)
treef0385d7254ad10ee526d375a867c0586011d90a2 /tools
parent7e0e7995ee97a285ca764c854c7e899aecd75949 (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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions