From: Lukas Czerner Date: Fri, 20 May 2011 17:55:16 +0000 (-0400) Subject: ext4: fix the mount option "init_itable=n" to work as expected for n=0 X-Git-Tag: v3.0-rc1~140^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51ce65115642b77040f5582b8d2fc8815ac450f9;p=pandora-kernel.git ext4: fix the mount option "init_itable=n" to work as expected for n=0 For some reason, when we set the mount option "init_itable=0" it behaves as we would set init_itable=20 which is not right at all. Basically when we set it to zero we are saying to lazyinit thread not to wait between zeroing the inode table (except of cond_resched()) so this commit fixes that and removes the unnecessary condition. The 'n' should be also properly used on remount. When the n is not set at all, it means that the default miltiplier EXT4_DEF_LI_WAIT_MULT is set instead. Signed-off-by: Lukas Czerner Signed-off-by: "Theodore Ts'o" Reported-by: Eric Sandeen --- Reading git-diff-tree failed