]> err.no Git - linux-2.6/commit
[PATCH] ext4: fix credit calculation in ext4_ext_calc_credits_for_insert
authorJohann Lombardi <johann.lombardi@bull.net>
Thu, 7 Dec 2006 04:40:46 +0000 (20:40 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:46 +0000 (08:39 -0800)
commitfeb189274638ea357750a9e809f5a6e2223a082e
treeff783ee2a84cf6dd0319533515a8cfa2d21ec9a1
parent97d2a80584b30b5cd32da411deca1986ef61877a
[PATCH] ext4: fix credit calculation in ext4_ext_calc_credits_for_insert

Fix a nit in ext4_ext_calc_credits_for_insert().  Besides, credits for the
new root are already added in the index split accounting.

Signed-off-by: Johann Lombardi <johann.lombardi@bull.net>
Signed-off-by: Alex Tomas <alex@clusterfs.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext4/extents.c