• Andrew Morton's avatar
    [PATCH] tmpfs: shmem_getpage beyond eof · 3c840525
    Andrew Morton authored
    Patch from Hugh Dickins
    
    The last set of tmpfs patches left shmem_getpage with an inadequate
    next_index test to guard against races with truncation.  Now remove
    that check and settle the issue with checks against i_size within
    shmem_swp_alloc, which needs to know whether reading or writing.
    3c840525
shmem.c 45.3 KB