Re: 2.2.19 NFSv3 client breaks fdopen(3)

Matthias Andree (matthias.andree@gmx.de)
Fri, 27 Apr 2001 13:02:37 +0200


On Thu, 26 Apr 2001, Trond Myklebust wrote:

> --- /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;

This fixes my problems with cvs and my test script. Thanks a lot again!
-
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/