aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-02-12 14:29:28 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:33:02 +0200
commitf1cfdec17c27db8461d76cd37edf4bf7f1bc64d1 (patch)
treee64159b672d9c75d1e2ee71f9628965b70dc5de7 /include/trace
parent74163adf43237488522cb4e1ffea1ca1a302fdc3 (diff)
f2fs: avoid garbage lenghs in dentries
This patch fixes to eliminate garbage name lengths in dentries in order to provide correct answers of readdir. For example, if a valid dentry consists of: bitmap : 1 1 1 1 len : 32 0 x 0, readdir can start with second bit_pos having len = 0. Or, it can start with third bit_pos having garbage. In both of cases, we should avoid to try filling dentries. So, this patch not only removes any garbage length, but also avoid entering zero length case in readdir. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions