Re: [f2fs-dev] [PATCH v2] f2fs: check if file namelen exceeds max value

2019-01-07 Thread Chao Yu
On 2019/1/7 15:02, Sheng Yong wrote: > Dentry bitmap is not enough to detect incorrect dentries. So this patch > also checks the namelen value of a dentry. > > Signed-off-by: Gong Chen > Signed-off-by: Sheng Yong > --- > v2->v1: Sorry, my bad. Fix incorrect brackets. Sorry for missing this too.

[f2fs-dev] [PATCH v2] f2fs: check if file namelen exceeds max value

2019-01-06 Thread Sheng Yong
Dentry bitmap is not enough to detect incorrect dentries. So this patch also checks the namelen value of a dentry. Signed-off-by: Gong Chen Signed-off-by: Sheng Yong --- v2->v1: Sorry, my bad. Fix incorrect brackets. --- fs/f2fs/dir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) dif