• Andrew Morton's avatar
    [PATCH] async write errors: fix spurious fs truncate errors · e89061de
    Andrew Morton authored
    From: Oliver Xymoron <oxymoron@waste.org>
    
    Currently, a writepage() which detects that it is writing outside i_size (due
    to concurrent truncate) will abandon the write, returning -EIO.
    
    The return value will bogusly cause an error to be recorded in the
    address_space.  So convert all those writepage() instances to return zero in
    this case.
    e89061de
inode.c 73.7 KB