]> git.pond.sub.org Git - empserver/commit
Fix give not to wipe out concurrect updates
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Apr 2011 19:52:10 +0000 (21:52 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 14 Apr 2011 18:21:23 +0000 (20:21 +0200)
commitb58c37e2966eb3d6e4ea4d3d8c9f59c04eef182c
treedd19ff931ae29e0fb2e1e0e5c0700689997acd08
parente3cf1e3280f9a2729e0b7005a04648a5e8abbbf9
Fix give not to wipe out concurrect updates

give() reads the sector, prompts for input, updates the sector and
writes it back, triggering a generation oops.  Any updates made by
other threads during the yield are wiped out, triggering a seqno
mismatch oops.
src/lib/commands/give.c