summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-02-11 20:25:11 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2015-02-12 02:04:51 +0100
commitf1a3b98e73a9f811ab4882669043c50c0e0dc7b6 (patch)
tree74c23b5caad0291e31676a7ee8b4cea4cda36f3c /fs/f2fs/segment.h
parentf2fs: avoid variable length array (diff)
downloadlinux-f1a3b98e73a9f811ab4882669043c50c0e0dc7b6.tar.xz
linux-f1a3b98e73a9f811ab4882669043c50c0e0dc7b6.zip
f2fs: fix accessing wrong indexed data blocks
This patch fixes the following test. This causes: attempt to access beyond end of device sdb2: rw=16384, want=14413962000, limit=16777216 The reason is: - f2fs_write_begin - f2fs_convert_inline_inode returns -ENOSPC - f2fs_write_failed - truncate_blocks - truncate_partial_data_page - find_data_page - get_dnode_of_data returns wrong data index retrieved from inline_data - f2fs_submit_page_bio(wrong data index) - submit_bio(wrong data index) Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions