• Andrew Morton's avatar
    [PATCH] nfs_writepage() retval fix · 3376cbf3
    Andrew Morton authored
    Both ->writepage() and ->writepages() should return 0 or a negative error
    code.  It shouldn't return the number of bytes which were written.
    
    From: Trond Myklebust <trond.myklebust@fys.uio.no>
    
       Redirty the page if all of the modified parts of the page weren't
       written out.
    3376cbf3
write.c 36.6 KB