[lkml]   [2005]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Kernel bug: Bad page state: related to generic symlink code and mmap
Hi Linus,

On Fri, 19 Aug 2005, Linus Torvalds wrote:
> On Fri, 19 Aug 2005, Anton Altaparmakov wrote:
> > Yes, sure. I have applied your patch to our tree (with the one
> > liner change I emailed you just now) and have kicked off a compile.
> Actually, hold on. The original patch had another problem: it returned an
> uninitialized "page" pointer when page_getlink() failed.

I copied the fix to that problem from your new patch by hand and
recompiled the kernel (that way I didn't have to rebuild the modules
again). Note I did not apply any of the fs specific changes. I only did
the VFS part of your patch that was actually necessary. And I reverted my
ncpfs fix so it is now again using the vfs supplied symlink helpers.

Having booted the new kernel and trying nautilus it worked fine accessing
the same symlink that failed before, so your patch fixes the ncpfs
problem as one would expect but always good to be sure. (-:

btw. It may be an idea to switch smbfs to use the fixed generic symlink
functions, too, so it benefits from symlink caching...

Best regards,

Anton Altaparmakov <aia21 at> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on
WWW: &
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-20 14:53    [W:0.067 / U:0.648 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site