fuse: Fix read for empty files.
authorRichard Jones <rjones@redhat.com>
Tue, 17 Nov 2009 17:02:45 +0000 (17:02 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 17 Nov 2009 20:14:47 +0000 (20:14 +0000)
commit336275ee6dbff5efa2152a4f67ef354b81d15d59
tree742c3905a6d4332964ad9950f6c615d40cdc6354
parent3fc9951016d08e2467375e24094a468713637c1f
fuse: Fix read for empty files.

Error handling for the guestfs_pread call was incorrect, which
meant that empty files could produce spurious error messages.
fuse/guestmount.c