diff options
author | Sheng Yong <shengyong1@huawei.com> | 2017-03-08 03:47:12 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-22 03:34:25 +0100 |
commit | 1941d7bcb474aa38caca16e6d3416e623d37d800 (patch) | |
tree | e1e116b804e38e9be09c328f61696ec27e247a3b /fs/f2fs/f2fs.h | |
parent | f2fs: use parameter max_items instead of PIDVEC_SIZE (diff) | |
download | linux-1941d7bcb474aa38caca16e6d3416e623d37d800.tar.xz linux-1941d7bcb474aa38caca16e6d3416e623d37d800.zip |
f2fs: check range before defragment
This patch checks the parameter range passed by ioctl to void that range
exceeds the max_file_blocks limit.
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 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions