aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2016-04-27 22:22:20 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-04-27 14:10:42 -0700
commita4a13f582c6d36b78b1c0459ee0b28f17bb2fb06 (patch)
treebc9ff6a64e27b8a937bd2127a171ab41ff42c8e7 /fs/f2fs/gc.c
parentMAINTAINERS: update my email address (diff)
downloadlinux-dev-a4a13f582c6d36b78b1c0459ee0b28f17bb2fb06.tar.xz
linux-dev-a4a13f582c6d36b78b1c0459ee0b28f17bb2fb06.zip
f2fs: be aware of invalid filename length
The filename length in dirent of may become zero-sized after random junk data injection, once encounter such dirent, find_target_dentry or f2fs_add_inline_entries will run into an infinite loop. So let f2fs being aware of that to avoid deadloop. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions