]> git.neil.brown.name Git - LaFS.git/commit
Close segments properly when we get to the end.
authorNeilBrown <neilb@suse.de>
Fri, 2 Jul 2010 23:29:34 +0000 (09:29 +1000)
committerNeilBrown <neilb@suse.de>
Sat, 3 Jul 2010 00:00:07 +0000 (10:00 +1000)
commit5741cd613a397acbfcd30fdb56fa3c8addcf862d
treed89c752defaf8aa96b6bf85e370afdb6e346668f
parentdd330641108f73d66540745e6ccc7b390f30f1d7
Close segments properly when we get to the end.

Passing -1 to new_segment was just *wrong*.
Do it right, and make sure to close all segments, and
release refcounts, at unmount.

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