From: Lars Ellenberg Date: Tue, 7 Aug 2012 04:42:09 +0000 (+0200) Subject: drbd: only start a new epoch, if the current epoch contains writes X-Git-Tag: v3.8-rc1~78^2~18^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b4d8fe6d12dcb49126df7153961fbc4de05f2a;p=pandora-kernel.git drbd: only start a new epoch, if the current epoch contains writes Almost all code paths calling start_new_tl_epoch() guarded it with if (... current_tle_writes > 0 ... ). Just move that inside start_new_tl_epoch(). Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed