lkml.org 
[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.9-rc2-mm1
Date
Hi Andrew,

Sent first mail with wrong mail address..

On Monday 20 September 2004 19.58, Andrew Morton wrote:
> 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
> };
>
>
> /*****************************************************************************/

That fixed it, thanks!


/Magnus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.193 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site