Roberto Fichera <mc3641@mclink.it> wrote:
> I've notice a double page_cache_release() in
> mm/filemap.c:truncate_inode_pages().
This is intentional.
IIRC it reduces the reference by two.
I thought it was a bug myself when I first saw it.
Maybe someone should throw a comment there?
/* reduce reference count by two */
Just to stop anyone else 'fixing' this?
-- Dave.- 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 - 21:00:22 EST