From: Bob Peterson Date: Tue, 22 Mar 2011 17:54:03 +0000 (-0400) Subject: GFS2: Combine transaction from gfs2_dir_exhash_dealloc X-Git-Tag: v3.0-rc1~384^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24a7a439a329b60f8e168c03e80566519e09be2;p=pandora-kernel.git GFS2: Combine transaction from gfs2_dir_exhash_dealloc At the end of function gfs2_dir_exhash_dealloc, it was setting the dinode type to "file" to prevent directory corruption in case of a crash. It was doing so in its own journal transaction. This patch makes the change occur when the last call is make to leaf_dealloc, since it needs to rewrite the directory dinode at that time anyway. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed