public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux v2.6.8
Date: Sat, 14 Aug 2004 06:30:14 -0400	[thread overview]
Message-ID: <411DE9B6.80806@pobox.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0408132303090.5277@ppc970.osdl.org>

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Linus Torvalds wrote:
> Matthew Wilcox:
>   o Remove fcntl f_op

Any chance of a 2.6.9 with working NFS?

See attached patch, which came from this thread:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109244804202259&w=2
http://marc.theaimsgroup.com/?t=109244611400001&r=1&w=2


[-- Attachment #2: patch.nfs-fix --]
[-- Type: text/plain, Size: 467 bytes --]

===== fs/nfs/file.c 1.40 vs edited =====
--- 1.40/fs/nfs/file.c	2004-08-09 14:58:00 -04:00
+++ edited/fs/nfs/file.c	2004-08-13 23:02:34 -04:00
@@ -72,7 +72,7 @@
 
 static int nfs_check_flags(int flags)
 {
-	if (flags & (O_APPEND | O_DIRECT))
+	if ((flags & (O_APPEND | O_DIRECT)) == (O_APPEND | O_DIRECT))
 		return -EINVAL;
 
 	return 0;
@@ -89,7 +89,7 @@
 	int res;
 
 	res = nfs_check_flags(filp->f_flags);
-	if (!res)
+	if (res)
 		return res;
 
 	lock_kernel();

  parent reply	other threads:[~2004-08-14 10:30 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-14  6:05 Linux v2.6.8 Linus Torvalds
2004-08-14 10:10 ` Linux v2.6.8 - Oops on NFSv3 Willy Tarreau
2004-08-14 10:19   ` Willy Tarreau
2004-08-14 10:34   ` Jeff Garzik
2004-08-14 10:41   ` Linus Torvalds
2004-08-14 10:35     ` Willy Tarreau
2004-08-14 10:49     ` Linus Torvalds
2004-08-14 10:55       ` Christoph Hellwig
2004-08-14 11:05         ` Linus Torvalds
2004-08-14 11:18           ` Arjan van de Ven
2004-08-14 11:27             ` Jeff Garzik
2004-08-14 11:31             ` viro
2004-08-14 12:48           ` Nur Hussein
2004-08-14 20:57             ` Greg Norris
2004-08-18 20:57               ` [PATCH] scripts/patch-kernel: use EXTRAVERSION Randy.Dunlap
2004-08-22 20:40                 ` Sam Ravnborg
2005-03-15 16:15                   ` [BUG] " David Greaves
2005-03-15 16:25                     ` Greg KH
2005-03-15 17:44                       ` Greg KH
2005-03-15 17:54                         ` Matt Mackall
2005-03-15 19:55                           ` Sam Ravnborg
2005-03-15 18:02                       ` David Greaves
2005-03-15 18:37                         ` Sam Ravnborg
2005-04-12  0:07                     ` [PATCH] scripts/patch-kernel: EXTRAVERSION patches are not incremental Randy.Dunlap
2004-08-17  3:13             ` Linux v2.6.8 - Oops on NFSv3 Patrick McFarland
2004-08-14 17:20           ` Matt Mackall
2004-08-15 20:10             ` Marcelo Tosatti
2004-08-16  3:37           ` Han Boetes
2004-08-16 14:06           ` Daniel Jacobowitz
2004-08-16 22:39           ` Bill Davidsen
2004-08-18  8:29           ` Robert Schwebel
2004-08-14 15:33       ` Norman Zhang
2004-08-14 10:19 ` [patch 2.6.8-rc4-mm1] via-velocity: wrong module name in Kconfig documentation Francois Romieu
2004-09-20 18:44   ` Jeff Garzik
2004-08-14 10:30 ` Jeff Garzik [this message]
2004-08-14 11:19   ` Linux v2.6.8 Stephan von Krawczynski
2004-08-14 11:38     ` Francois Romieu
2004-08-14 11:16 ` William Lee Irwin III
2004-08-16 17:56 ` Linux v2.6.8 (compile stats) John Cherry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411DE9B6.80806@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox