lkml.org 
[lkml]   [2001]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.4.9-pre1 NFS problem
From
* Linus Torvalds <torvalds@transmeta.com> [08/13/01 18:40] wrote:
> In article <20010813114636.A4641@chinook.stanford.edu> you write:
> >It looks like 2.4.9-pre1 breaks the NFS server. Directories still get
> >exported and clients can mount them fine, but the ls command on the
> >client fails to report any files. Filename completion also doesn't
> >work. However, files can still be viewed if you know the exact file
> >name.
>
> Yes, there's a missing off_t -> loff_t change in pre1, and the compile
> will even warn about it...
>
> >The same problem happens with 2.4.9-pre2.
>
> ..but I thought I fixed it in pre2.
>
> HOWEVER - there are a few others that I missed because the NFSD layer is
> doing ugly casts of function pointers (don't ask me why - it should have
> the right type in 'filldir_t' already but wants to use its own type), so
> the compiler can't warn about it.
>
> Let's hear it for type safety and avoiding ugly casts.
>
> Anyway, here's the patch - does this fix it for you?

[snip patch]

I didn't try the patch, but 2.4.9-pre3 fixes the problem. I'm
assuming the patch is in that kernel version.

Max

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

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.032 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site