aboutsummaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2015-12-28 21:48:32 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:41 +0200
commit77e85211d6d07e9f3a7224c55d7da83fedd615fb (patch)
treea4ff3ee9378026eaa35b0a3f41cf9322e80bd713 /include/linux/init_task.h
parent1ce743bc0092cda571e83795db643e2381a80515 (diff)
f2fs: add a max block check for get_data_block_bmap
This patch adds a max block check for get_data_block_bmap. Trinity test program will send a block number as parameter into ioctl_fibmap, which will be used in get_node_path(), when the block number large than f2fs max blocks, it will trigger kernel bug. Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Xue Liu <liuxueliu.liu@huawei.com> [Jaegeuk Kim: fix missing condition, pointed by Chao Yu] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions