Yunlei He 179448bfe4 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>
2015-12-30 10:14:17 -08:00
..
2015-06-11 15:04:20 -07:00
2015-12-30 10:14:15 -08:00
2015-12-30 10:14:15 -08:00
2015-10-09 16:20:56 -07:00
2015-08-21 22:43:32 -07:00
2015-12-30 10:14:15 -08:00
2015-12-30 10:14:09 -08:00
2015-12-30 10:14:09 -08:00
2015-11-13 20:34:34 -05:00