Hi Alan,
  whoever added s_maxbytes into all filesystems forgot to fix ncpfs...
It had nasty effect that lseek does not work on them anymore :-(
  If patch came to your tree from Linus, then sorry... I'm now way
behind Linus kernels.
                                                Thanks,
                                                        Petr Vandrovec
                                                        [EMAIL PROTECTED]


diff -urdN linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
--- linux/fs/ncpfs/inode.c      Mon Jan 15 11:13:30 2001
+++ linux/fs/ncpfs/inode.c      Wed Jan 17 11:42:56 2001
@@ -331,6 +331,7 @@
        sb->s_blocksize_bits = 10;
        sb->s_magic = NCP_SUPER_MAGIC;
        sb->s_op = &ncp_sops;
+       sb->s_maxbytes = MAX_NON_LFS;
 
        server = NCP_SBP(sb);
        memset(server, 0, sizeof(*server));
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to