Re: Kernel bug: Bad page state: related to generic symlink code and mmap

Al Viro
2005-08-19T15:56:05Z

On Fri, Aug 19, 2005 at 04:44:06PM +0100, Anton Altaparmakov wrote:
> I tried stracing nautilus to answer your question. And this time for
> the first time instead of a Bad page state I got a BUG() triggered in
> fs/namei.c, the arrow below marks the spot:
>
> void page_put_link(struct dentry *dentry, struct nameidata *nd)
> {
> if (!IS_ERR(nd_get_link(nd))) {
> struct page *page;
> page = find_get_page(dentry->d_inode->i_mapping, 0);
> if (!page)
> ----> BUG();

Ergo, something had blown page cache for our inode. Interesting...