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

From: Linus Torvalds
Date: Fri Aug 19 2005 - 16:36:05 EST




On Fri, 19 Aug 2005, Anton Altaparmakov wrote:
>
> You are throwing away the error return from vfs_readlink(). I suspect you
> wanted:
>
> + cookie = ERR_PTR(res);

Yes, thanks.

Linus
-
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/