• Linus Torvalds's avatar
    aio: remove incorrect initialization of "nr_pages" · 3e45a109
    Linus Torvalds authored
    We should not claim to have filled in the ring_pages[] array
    until we actually _do_ fill it in. It will confuse the code
    that frees the structure if we claim there are pages there
    that don't exist.
    
    Noted by Darrick Wong.
    3e45a109
aio.c 44 KB