• Andrew Morton's avatar
    [PATCH] hold the page ref across ->readpage · f3b3dc81
    Andrew Morton authored
    read_pages() is dropping the page refcount before running ->readpage().
    Which just happens to work, because the page is in pagecache and
    locked.
    
    But it breaks under some unconventional things which reiser4 is doing,
    and it's better/safer/saner this way anyway.
    f3b3dc81
readahead.c 11.8 KB