]> git.neil.brown.name Git - LaFS.git/commit
Only increment pending_nxt when we finish a cluster
authorNeilBrown <neilb@suse.de>
Fri, 9 Jul 2010 10:39:45 +0000 (20:39 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 9 Jul 2010 21:32:01 +0000 (07:32 +1000)
commitb1ec9df8ee807c0b9e4d0f6b0d4e0fac617a75c2
tree31c783b47cd1955e8734aa02edb06b0831001f21
parent5a928587a59779ad28509c856f4a25e6f4c034d7
Only increment pending_nxt when we finish a cluster

cluster_reset is called when we reset a cluster, but also
when we reposition to the start of a new segment - which should be
the same cluster.
pending_nxt should only be changed in the first of those cases.

Signed-off-by: NeilBrown <neilb@suse.de>
cluster.c