From: Andrew Morton <akpm@osdl.org>
To: "Magnus Määttä" <magnus@php.net>
Cc: linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>
Subject: Re: 2.6.9-rc2-mm1
Date: Mon, 20 Sep 2004 10:58:36 -0700 [thread overview]
Message-ID: <20040920105836.3ed07df4.akpm@osdl.org> (raw)
In-Reply-To: <200409201939.04207.>
Magnus Määttä <magnus@php.net> wrote:
>
> I'm getting
> *** Warning: "afs_file_page_mkwrite" [fs/afs/kafs.ko] undefined!
> when I build the kernel.
>
> If I remove make-afs-use-cachefs.patch it works just fine.
Like this, I guess.
--- 25/fs/afs/file.c~afs-cachefs-dependency-fix 2004-09-20 10:56:28.714441752 -0700
+++ 25-akpm/fs/afs/file.c 2004-09-20 10:57:39.770639568 -0700
@@ -33,7 +33,9 @@ static int afs_file_releasepage(struct p
static ssize_t afs_file_write(struct file *file, const char __user *buf,
size_t size, loff_t *off);
+#ifdef CONFIG_AFS_CACHEFS
static int afs_file_page_mkwrite(struct page *page);
+#endif
struct inode_operations afs_file_inode_operations = {
.getattr = afs_inode_getattr,
@@ -56,7 +58,9 @@ struct address_space_operations afs_fs_a
.set_page_dirty = __set_page_dirty_nobuffers,
.releasepage = afs_file_releasepage,
.invalidatepage = afs_file_invalidatepage,
+#ifdef CONFIG_AFS_CACHEFS
.page_mkwrite = afs_file_page_mkwrite,
+#endif
};
/*****************************************************************************/
_
next prev parent reply other threads:[~2004-09-20 18:01 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 9:40 2.6.9-rc2-mm1 Andrew Morton
2004-09-16 13:10 ` 2.6.9-rc2-mm1 Diego Calleja
2004-09-16 12:27 ` 2.6.9-rc2-mm1 Alan Cox
2004-09-16 13:34 ` 2.6.9-rc2-mm1 Ryan Cumming
2004-09-16 14:20 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-16 16:45 ` 2.6.9-rc2-mm1 Norberto Bensa
2004-09-16 17:16 ` 2.6.9-rc2-mm1 Arjan van de Ven
2004-09-16 17:28 ` 2.6.9-rc2-mm1 Norberto Bensa
2004-09-16 17:30 ` 2.6.9-rc2-mm1 Arjan van de Ven
2004-09-17 19:29 ` 2.6.9-rc2-mm1 Valdis.Kletnieks
2004-09-20 17:41 ` 2.6.9-rc2-mm1 Terence Ripperda
2004-09-16 17:37 ` 2.6.9-rc2-mm1 Jedi/Sector One
2004-09-16 17:57 ` 2.6.9-rc2-mm1 Norberto Bensa
2004-09-16 17:14 ` 2.6.9-rc2-mm1 Jesse Barnes
2004-09-16 17:38 ` 2.6.9-rc2-mm1 Bjorn Helgaas
2004-09-17 3:00 ` 2.6.9-rc2-mm1 Norberto Bensa
2004-09-17 18:09 ` 2.6.9-rc2-mm1 Dominik Karall
2004-09-18 1:10 ` 2.6.9-rc2-mm1 Sean Neakums
2004-09-18 6:01 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-18 8:18 ` 2.6.9-rc2-mm1 Russell King
2004-09-20 1:12 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-20 4:37 ` 2.6.9-rc2-mm1 Paul Jackson
2004-09-20 23:27 ` 2.6.9-rc2-mm1 Jesse Barnes
2004-09-20 2:34 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-20 4:18 ` 2.6.9-rc2-mm1 Albert Cahalan
2004-09-20 7:47 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-20 15:00 ` 2.6.9-rc2-mm1 Albert Cahalan
2004-09-20 21:01 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-20 22:20 ` 2.6.9-rc2-mm1 William Lee Irwin III
[not found] ` <200409201939.04207.>
2004-09-20 17:58 ` Andrew Morton [this message]
2004-09-20 20:15 ` 2.6.9-rc2-mm1 Magnus Määttä
2004-09-20 20:45 ` 2.6.9-rc2-mm1 David Howells
2004-09-24 5:30 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-24 7:11 ` 2.6.9-rc2-mm1 Jens Axboe
2004-09-24 7:24 ` 2.6.9-rc2-mm1 William Lee Irwin III
2004-09-17 5:18 2.6.9-rc2-mm1 Protasevich, Natalie
2004-09-17 6:50 ` 2.6.9-rc2-mm1 Len Brown
2004-09-17 15:57 ` 2.6.9-rc2-mm1 Jesse Barnes
[not found] <2F1dX-2r9-5@gated-at.bofh.it>
[not found] ` <2F7VJ-7o7-7@gated-at.bofh.it>
[not found] ` <2F8fj-7yw-39@gated-at.bofh.it>
[not found] ` <2F8oL-7DK-1@gated-at.bofh.it>
[not found] ` <2F8oR-7DK-17@gated-at.bofh.it>
[not found] ` <2FwKr-7VO-7@gated-at.bofh.it>
[not found] ` <2GAsE-21G-9@gated-at.bofh.it>
2004-09-20 19:30 ` 2.6.9-rc2-mm1 Andi Kleen
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=20040920105836.3ed07df4.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus@php.net \
/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
Powered by JetHome