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

Linus Torvalds
2005-08-20T01:08:33Z

On Sat, 20 Aug 2005, Al Viro wrote:
>
> That looks OK except for
> * ncpfs fix is actually missing here

Well, the thing is, with the change to page_follow_link() and
page_put_link(), ncpfs should now work fine - it doesn't need any fixing
any more.

It was makign an assumption that used to be incorrect, but that assumption
became ok with the calling convention change - now the page_follow_link()
and page_put_link() functions work fine even if the page cache might get
invalidated in between the calls.

So with your patch, things should be fine (and external filesystems will
generate warnings on compiles, but should work fine, since the change
maintains the ABI even if the API changed - which is pretty unusual).

Linus