From b1b642c738d3c6be6efc6cd9734e71403f018a35 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 5 Mar 2011 11:25:20 +1100 Subject: [PATCH] All seg_addr to report the address at the end of the cluster This is needed as the first address of the next cluster. We don't check for errors in very many places anyway so this is won't cause and problems. Signed-off-by: NeilBrown --- cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.c b/cluster.c index 6752673..39dd928 100644 --- a/cluster.c +++ b/cluster.c @@ -342,7 +342,7 @@ static u64 seg_addr(struct fs *fs, struct segpos *seg) return (u64)-1; if (seg->table > seg->nxt_table || (seg->table == seg->nxt_table && - seg->row >= seg->nxt_row)) + seg->row > seg->nxt_row)) /* We have gone beyond the end of the cluster, * must be bad data during roll-forward */ -- 2.39.5