]> err.no Git - linux-2.6/commit
ext3: kill 2 useless magic numbers
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 25 Jul 2008 08:46:29 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:32 +0000 (10:53 -0700)
commit8ef2720397bb813d4985405a5ae7b8ad6474188b
treed96e7aeeff719a658324661301a7c026f11a3263
parentfc80c44277b3c92d808b73e9d40e120229aa4b6a
ext3: kill 2 useless magic numbers

dx_root_limit() will never return 20, and I can't figure out what 20
stands for.  This function has never changed since htree directory
indexing was merged.

Similar for dx_node_limit() and the magic 22.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/namei.c