• Hugh Dickins's avatar
    [PATCH] loop sendfile retval · 022bfbc0
    Hugh Dickins authored
    Buffer I/O error on device loop: its use of sendfile is (trivially)
    broken - retval is usually count done, only an error when negative.
    
    This code (like the old one) does not correctly handle partial reads.
    
    Nearby spinlocking clearly bogus, delete instead of remarking on it.
    022bfbc0
loop.c 25.7 KB