Re: PATCH: Rewrite of truncate_inode_pages (WIP)

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Wed May 31 2000 - 07:30:38 EST


>>>>> " " == Juan J Quintela <quintela@fi.udc.es> 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 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 : Wed May 31 2000 - 21:00:27 EST