From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14645.1518.740545.133390@charged.uio.no> Date: Wed, 31 May 2000 14:30:38 +0200 (CEST) Subject: Re: PATCH: Rewrite of truncate_inode_pages (WIP) In-Reply-To: References: Reply-To: trond.myklebust@fys.uio.no From: Trond Myklebust Sender: owner-linux-mm@kvack.org Return-Path: To: "Juan J. Quintela" Cc: lkml , linux-mm@kvack.org List-ID: >>>>> " " == Juan J Quintela writes: > OK, the problem here is that __remove_inode_pages needs to be > called with page->buffers==NULL. What do you suggest to obtain > that? > Ok, tell me *the* correct way of doing that. We need to make > sere that __remove_inode_page is called with page->buffers == > NULL. It is ok for you: > if(page->buffers) > BUG(); That's good. It won't affect NFS or smbfs, and it will catch any block devices that try to use that function. Cheers, Trond -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/