From: Benjamin Marzinski Date: Mon, 27 Sep 2010 21:00:04 +0000 (-0500) Subject: GFS2: reserve more blocks for transactions X-Git-Tag: v2.6.37-rc1~220^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf97b6734e027cc18abad420ab88f861f65d7816;p=pandora-kernel.git GFS2: reserve more blocks for transactions Some of the functions in GFS2 were not reserving space in the transaction for the resource group header and the resource groups bitblocks that get added when you do allocation. GFS2 now makes sure to reserve space for the resource group header and either all the bitblocks in the resource group, or one for each block that it may allocate, whichever is smaller using the new gfs2_rg_blocks() inline function. Signed-off-by: Benjamin Marzinski Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed