On Tue, 2011-09-20 at 17:59 -0400, Christoph Hellwig wrote: > Copy the code from libxfs_writebufr to handle short reads, and also > tidy up a formatting issue found in the libxfs_writebufr copy. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> That LIBXFS_B_EXIT == LIBXFS_EXIT_ON_FAILURE is a bad thing. It might be nice if libxfs_readbuf() and libxfs_writebuf() encoded that piece of information the same way (in b_flags). Anyway, what you have here looks good. Reviewed-by: Alex Elder <aelder@xxxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs