From: Jan Kara Date: Thu, 3 Feb 2011 13:16:19 +0000 (+0100) Subject: ocfs2: Fix estimate of necessary credits for mkdir X-Git-Tag: v2.6.38-rc7~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705773a6656bba66f2a80a44ddaacf9620df8a59;p=pandora-kernel.git ocfs2: Fix estimate of necessary credits for mkdir In the rare case that INLINE_DATA, INDEX_DIR, QUOTA, XATTR features are disabled and both the allocation of the directory inode and the allocation of the first directory block need to relink allocation group, there need not be enough credits reserved in a transaction. Fix the estimate. CC: Mark Fasheh Signed-off-by: Jan Kara Signed-off-by: Joel Becker --- Reading git-diff-tree failed