All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] do_generic_direct_write: bad flag check
Date: Thu, 10 Jul 2003 01:13:48 +0200	[thread overview]
Message-ID: <20030709231348.GC18564@werewolf.able.es> (raw)
In-Reply-To: <Pine.LNX.4.55L.0307091918400.5325@freak.distro.conectiva>; from marcelo@conectiva.com.br on Thu, Jul 10, 2003 at 00:24:40 +0200


On 07.10, Marcelo Tosatti wrote:
> 
> Hi,
> 
> Here goes -pre4. It contains a lot of updates and fixes.
> 

--- linux-2.4.22-pre2-jam1/mm/filemap.c.orig	2003-06-28 01:55:36.000000000 +0200
+++ linux-2.4.22-pre2-jam1/mm/filemap.c	2003-06-28 01:55:45.000000000 +0200
@@ -3223,7 +3223,7 @@
 	if (err != 0 || count == 0)
 		goto out;
 
-	if (!file->f_flags & O_DIRECT)
+	if (!(file->f_flags & O_DIRECT))
 		BUG();
 
 	remove_suid(inode);

...but sure the fix in -ac is better.

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre2-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-2mdk))

  parent reply	other threads:[~2003-07-09 22:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-09 22:24 Linux 2.4.22-pre4 Marcelo Tosatti
2003-07-09 22:48 ` J.A. Magallon
2003-07-09 22:56   ` Herbert Pötzl
2003-07-09 22:51 ` Alex Romosan
2003-07-10  0:02   ` -pre4 fixed on ftp.kernel.org " Marcelo Tosatti
2003-07-09 23:04 ` Onur Kucuk
2003-07-09 23:13 ` J.A. Magallon [this message]
2003-07-10  3:29   ` [PATCH] do_generic_direct_write: bad flag check Marcelo Tosatti
2003-07-10  3:48     ` Daniel
2003-07-10  0:03 ` Linux 2.4.22-pre4 J.A. Magallon
2003-07-10  0:29 ` [PATCH] hfsplus: group Apple FS's and help text J.A. Magallon
2003-07-10  0:36   ` J.A. Magallon
2003-07-10  5:23 ` Linux 2.4.22-pre4 Aschwin Marsman
2003-07-10  7:58   ` Willy Tarreau
2003-07-10 15:51 ` compile warnings Rafał 'rmrmg' Roszak
2003-07-10 22:26   ` Diego Calleja García
2003-07-11  0:18     ` Rafał 'rmrmg' Roszak
2003-07-29 14:08 ` 2.4.22-pre4: devfs on initrd stays busy after pivot_root Andreas Haumer
2003-07-29 14:16   ` Alan Cox
2003-07-29 14:54   ` Herbert Pötzl
2003-07-30  9:54     ` Andreas Haumer

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=20030709231348.GC18564@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.