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

From: Al Viro
Date: Fri Aug 19 2005 - 10:56:22 EST


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...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/