* NFS Bug in 2.4.3?
@ 2001-04-02 0:01 Thomas J. Baker
2001-04-26 10:49 ` Mogens Kjaer
0 siblings, 1 reply; 2+ messages in thread
From: Thomas J. Baker @ 2001-04-02 0:01 UTC (permalink / raw)
To: linux-kernel
There is an NFS bug described here
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=30944
that seems to have been known about for a while that is not fixed in
2.4.3. Is there something wrong with the patch that is discussed?
Thanks,
tjb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: NFS Bug in 2.4.3?
2001-04-02 0:01 NFS Bug in 2.4.3? Thomas J. Baker
@ 2001-04-26 10:49 ` Mogens Kjaer
0 siblings, 0 replies; 2+ messages in thread
From: Mogens Kjaer @ 2001-04-26 10:49 UTC (permalink / raw)
To: linux-kernel
"Thomas J. Baker" wrote:
>
> There is an NFS bug described here
>
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=30944
>
> that seems to have been known about for a while that is not fixed in
> 2.4.3. Is there something wrong with the patch that is discussed?
It works fine for me.
Note, however, the patch should be patched in order to work on the
2.4.2 kernel distributed with rh71.
--- linux-2.4.2-dir.dif Thu Mar 1 14:58:28 2001
+++ linux-2.4.2-dirRH71.dif Thu Apr 26 12:19:34 2001
@@ -111,13 +111,14 @@
diff -u --recursive --new-file linux-2.4.2-fh_align/fs/readdir.c
linux-2.4.2-dir/fs/readdir.c
--- linux-2.4.2-fh_align/fs/readdir.c Mon Dec 11 22:45:42 2000
+++ linux-2.4.2-dir/fs/readdir.c Thu Feb 22 10:47:49 2001
-@@ -315,7 +315,8 @@
+@@ -346,7 +346,9 @@
lastdirent = buf.previous;
if (lastdirent) {
struct linux_dirent64 d;
- d.d_off = file->f_pos;
++ /* d.d_off = file->f_pos; */
+ /* get the sign extension right */
+ d.d_off = (off_t)file->f_pos;
- copy_to_user(&lastdirent->d_off, &d.d_off,
sizeof(d.d_off));
error = count - buf.count;
- }
+ if (copy_to_user(&lastdirent->d_off, &d.d_off,
sizeof(d.d_off)))
+ error = -EFAULT;
(patch to a patch; hm...).
Mogens
--
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@crc.dk Homepage: http://www.crc.dk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-26 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-02 0:01 NFS Bug in 2.4.3? Thomas J. Baker
2001-04-26 10:49 ` Mogens Kjaer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox