commit | 99b4d8fe6d12dcb49126df7153961fbc4de05f2a | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Tue Aug 07 06:42:09 2012 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Fri Nov 09 14:05:47 2012 +0100 |
tree | 6e9f8f96b8264f7d1ce801d32526ec47b99de051 | |
parent | 8a0bab2a6dd05ee35777370be892daba01750712 [diff] |
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>