From: Steven Whitehouse Date: Mon, 16 Apr 2012 08:40:00 +0000 (+0100) Subject: GFS2: Remove duplicate log code X-Git-Tag: v3.5-rc1~168^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dad30e9031c5927c30b402f73ac57ffbe09dc9ee;p=pandora-kernel.git GFS2: Remove duplicate log code The main part of this patch merges the two functions used to write metadata and data buffers to the log. Most of the code is common between the two functions, so this provides a nice clean up, and makes the code more readable. The gfs2_get_log_desc() function is also extended to take two more arguments, and thus avoid having to set the length and data1 fields of this strucuture as a separate operation. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed