• Andrew Morton's avatar
    [PATCH] Fix for vma merging refcounting bug · bcf9d3da
    Andrew Morton authored
    From: "Stephen C. Tweedie" <sct@redhat.com>
    
    When a new vma can be merged simultaneously with its two immediate
    neighbours in both directions, vma_merge() extends the predecessor vma and
    deletes the successor.  However, if the vma maps a file, it fails to fput()
    when doing the delete, leaving the file's refcount inconsistent.
    bcf9d3da
mmap.c 36.6 KB