[PATCH 3/4] libxfs: handle short reads in libxfs_readbufr
Alex Elder
aelder at sgi.com
Wed Sep 21 13:45:13 CDT 2011
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 at lst.de>
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 at sgi.com>
More information about the xfs
mailing list