Re: 2.6.9-rc2-mm1

From: Andrew Morton (akpm_at_osdl.org)
Date: 09/20/04

  • Next message: Brad Smith: ""failed to exec /sbin/modprobe -s -k binfmt-4c46, errno=8" booting PPC ltsp clients"
    Date:	Mon, 20 Sep 2004 10:58:36 -0700
    To: Magnus Määttä <magnus@php.net>
    
    

    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
     };
     
     /*****************************************************************************/
    _

    -
    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/


  • Next message: Brad Smith: ""failed to exec /sbin/modprobe -s -k binfmt-4c46, errno=8" booting PPC ltsp clients"

    Relevant Pages