linux-handle-short-reads-gracefully-20040504
authorNathan Neulinger <nneul@umr.edu>
Tue, 4 May 2004 10:31:55 +0000 (10:31 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 4 May 2004 10:31:55 +0000 (10:31 +0000)
commit64b8ee9d887c4d7d669734e30bfd66c758efb51e
treeedf7a55ec58bb2bb2f244e519a2f676d201feeb9
parent5b6b91e6b803536058203a3404190af39bfa9292
linux-handle-short-reads-gracefully-20040504

break out of the read loop with EIO if we've reached EOF,
rather than looping forever hoping the file will grow.
src/afs/LINUX/osi_misc.c