Re: acroread dies in 2.3.99-pre3-pre6

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu Mar 23 2000 - 03:56:29 EST


>>>>> " " == Jeff Garzik <jgarzik@mandrakesoft.com> writes:

> The PDF was on an NFS filesystem, which may be a symptom...

Linus found an NFS writeback bug in 2.3.99-pre3-6 that is due to an
oversight in some intermediate code. The following patch fixes it.

Cheers,
  Trond

--- fs/nfs/proc.c.orig Wed Mar 22 20:59:16 2000
+++ fs/nfs/proc.c Thu Mar 23 08:20:35 2000
@@ -114,7 +114,8 @@
         struct nfs_writeargs arg = { fhandle, offset, count, 1, 1,
                                         {{(void *) buffer, count}, {0,0}, {0,0}, {0,0},
                                         {0,0}, {0,0}, {0,0}, {0,0}}};
- struct nfs_writeres res = {fattr, 0, count};
+ struct nfs_writeverf verf;
+ struct nfs_writeres res = {fattr, &verf, count};
         int status;
 
         dprintk("NFS call write %d @ %ld\n", count, offset);

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST