diff options
| author | Yunlei He <heyunlei@huawei.com> | 2015-12-28 21:48:32 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:41 +0200 |
| commit | 77e85211d6d07e9f3a7224c55d7da83fedd615fb (patch) | |
| tree | a4ff3ee9378026eaa35b0a3f41cf9322e80bd713 /include/linux/task_work.h | |
| parent | 1ce743bc0092cda571e83795db643e2381a80515 (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/task_work.h')
0 files changed, 0 insertions, 0 deletions
