From: "Miguel Sousa Filipe" <miguel.filipe@gmail.com>
To: btrfs-devel@oss.oracle.com, linux-btrfs@vger.kernel.org
Subject: [PATCH] define write_cache_pages for linux kernel <= 2.6.20 instead of 2.6.18
Date: Sat, 5 Apr 2008 20:40:06 +0100 [thread overview]
Message-ID: <f058a9c30804051240m6a4cad0fwa8608906109d399@mail.gmail.com> (raw)
Hi,
write_cache_pages doesn't exist in linux 2.6.20, change the #if
condition to match that.
diff -r 4b838034355c extent_io.c
--- a/extent_io.c Sat Apr 05 19:06:30 2008 +0100
+++ b/extent_io.c Sat Apr 05 20:36:59 2008 +0100
@@ -2096,7 +2096,7 @@ done:
return 0;
}
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,20)
/* Taken directly from 2.6.23 for 2.6.18 back port */
typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
--
Miguel Sousa Filipe
reply other threads:[~2008-04-05 19:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=f058a9c30804051240m6a4cad0fwa8608906109d399@mail.gmail.com \
--to=miguel.filipe@gmail.com \
--cc=btrfs-devel@oss.oracle.com \
--cc=linux-btrfs@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).