--- /mnt/3/linux-2.2.19/fs/nfs/dir.c Sun Mar 25 08:37:38 2001 +++ linux-2.2.19/fs/nfs/dir.c Thu Apr 5 14:37:59 2001 @@ -454,6 +454,9 @@ */ static loff_t nfs_dir_llseek(struct file *file, loff_t offset, int origin) { + /* Glibc 2.0 backwards compatibility crap... */ + if (origin == 1 && offset == 0) + return file->f_pos; /* We disallow SEEK_CUR and SEEK_END */ if (origin != 0) return -EINVAL;