lkml.org 
[lkml]   [2000]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: uPatch for mm/filemap.c
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.069 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site