Fix up logic for handling short data blocks.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Mon, 28 Dec 2009 06:32:07 +0000 (22:32 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Mon, 28 Dec 2009 06:32:07 +0000 (22:32 -0800)
commite1cac3d9a3fe157e0e874225bb85b57e86e1a020
treeb193d0c1e8831f18bd107878065e32d6afa0ffe4
parentd5e2f1643a99e57607e86173d832dbfa4f8b51c2
Fix up logic for handling short data blocks.

This fixes a crash when there are writes that are not a multiple of the
block size.
bluesky/file.c
bluesky/util.c