ref: ea294e2a51a8de3daf27e0cf2aa57142bf4b0850
parent: bc6e18d5bce604736a77a15ebcfca8a54b2488c0
author: gkostka <kostka.grzegorz@gmail.com>
date: Tue May 24 05:27:05 EDT 2016
ext4_journal: fix trans_id_diff return value
--- a/src/ext4_journal.c
+++ b/src/ext4_journal.c
@@ -107,7 +107,7 @@
trans_id_diff(uint32_t x, uint32_t y)
{
int32_t diff = x - y;
- return (diff >= 0);
+ return diff;
}
static int