summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/befs.txt
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-05-28 08:56:09 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-06-04 13:34:30 +0900
commitbfec07d0f8ed78b10df3ca3bc23e27de1166ea45 (patch)
treec6134dfc647176474944cbb244bd15de4d4607ac /Documentation/filesystems/befs.txt
parentd631abdac9d541d282a1461b5aeae70aa3866e9f (diff)
downloadlinux-bfec07d0f8ed78b10df3ca3bc23e27de1166ea45.tar.bz2
f2fs: avoid overflow when large directory feathure is enabled
When large directory feathure is enable, We have one case which could cause overflow in dir_buckets() as following: special case: level + dir_level >= 32 and level < MAX_DIR_HASH_DEPTH / 2. Here we define MAX_DIR_BUCKETS to limit the return value when the condition could trigger potential overflow. Changes from V1 o modify description of calculation in f2fs.txt suggested by Changman Lee. Suggested-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/filesystems/befs.txt')
0 files changed, 0 insertions, 0 deletions