uPatch for mm/filemap.c

From: Roberto Fichera (mc3641@mclink.it)
Date: Sat Jul 15 2000 - 10:42:58 EDT

  • Next message: Petr Soucek: "IDE read problem with ht6560a fixed in ide- patches only"

    Hi All,

    I've notice a double page_cache_release() in
    mm/filemap.c:truncate_inode_pages(). Here is the patch

    --- linux-2.4.0-test4/mm/filemap.c.orig Sat Jul 15 16:33:17 2000
    +++ linux-2.4.0-test4/mm/filemap.c Sat Jul 15 16:33:47 2000
    @@ -199,7 +199,6 @@
     
                             UnlockPage(page);
                             page_cache_release(page);
    - page_cache_release(page);
     
                             /*
                              * We have done things without the pagecache lock,

    Roberto.

    Xmeo 4.b9 on Windows 95 4.10 (Pentium)

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 15:47:38 EDT