Re: [f2fs-dev] [PATCH 2/2] f2fs: check range before defragment

2017-03-08 Thread Chao Yu
On 2017/3/8 10:47, Sheng Yong wrote: > This patch checks the parameter range passed by ioctl to void that range > exceeds the max_file_blocks limit. > > Signed-off-by: Sheng Yong Reviewed-by: Chao Yu

[f2fs-dev] [PATCH 2/2] f2fs: check range before defragment

2017-03-07 Thread Sheng Yong
This patch checks the parameter range passed by ioctl to void that range exceeds the max_file_blocks limit. Signed-off-by: Sheng Yong --- fs/f2fs/file.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index e0b2378..eb675f1 100644