linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rasmus Andersen <rasmus@jaquet.dk>
To: linux-mm@kvack.org
Subject: [PATCH] thinko in mm/filemap.c (242p1)
Date: Tue, 6 Feb 2001 13:07:18 +0100	[thread overview]
Message-ID: <20010206130718.F18574@jaquet.dk> (raw)

Hi.

The following patch fixes what I think is a cut'n'paste slipup in
mm/filemap.c::generic_buffer_fdatasync. It applies against 242p1
and 241-ac3. Comments?

--- linux/mm/filemap.c.org      Tue Feb  6 13:00:03 2001
+++ linux/mm/filemap.c  Tue Feb  6 13:00:53 2001
@@ -397,7 +397,7 @@
        retval |= do_buffer_fdatasync(&inode->i_mapping->locked_pages, start_idx
, end_idx, writeout_one_page);
 
        /* now wait for locked buffers on pages from both clean and dirty lists 
*/
-       retval |= do_buffer_fdatasync(&inode->i_mapping->dirty_pages, start_idx,
 end_idx, writeout_one_page);
+       retval |= do_buffer_fdatasync(&inode->i_mapping->dirty_pages, start_idx,
 end_idx, waitfor_one_page);
        retval |= do_buffer_fdatasync(&inode->i_mapping->clean_pages, start_idx,
 end_idx, waitfor_one_page);
        retval |= do_buffer_fdatasync(&inode->i_mapping->locked_pages, start_idx
, end_idx, waitfor_one_page);
 


Regards,
  Rasmus
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

             reply	other threads:[~2001-02-06 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06 12:07 Rasmus Andersen [this message]
2001-02-06 12:51 ` Rik van Riel
2001-02-06 12:58   ` Rasmus Andersen
2001-02-06 12:39     ` Marcelo Tosatti
2001-02-06 13:02     ` Rik van Riel

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=20010206130718.F18574@jaquet.dk \
    --to=rasmus@jaquet.dk \
    --cc=linux-mm@kvack.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