Hi,

i dont know if this is approved, but i made the following patch to fix it :

---[begin patch]---
--- mmap.c      2006-06-07 05:43:01.000000000 +0300
+++ mmap-fixed.c        2006-06-07 05:42:42.000000000 +0300
@@ -281,7 +281,7 @@
        return err;
 }

-void unionfs_sync_page(struct page *page)
+int unionfs_sync_page(struct page *page)
 {
        struct inode *inode;
        struct inode *lower_inode;
@@ -307,7 +307,7 @@

       out:
        print_exit_status(0);
-       return;
+       return 0;
 }

 struct address_space_operations unionfs_aops = {
---[end patch]---


On Thursday 08 June 2006 18:07, Patrick Petit wrote:
> Hi,
>
> I am trying to compile unionfs for FC5 (kernel source
> 2.6.16-1.2122_FC5-i686) without success.
> Tried unionfs 1.14 and snapshots  unionfs-20060605-1236 and latest
> unionfs-20060608-0027
> for which I still get a compilation error. My running kernel rev. is
> 2.6.16-1.2122_FC5xen0
>
> make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2122_FC5-i686'
>
>   CC [M]  /tmp/unionfs-20060608-0027/mmap.o
>
> cc1: warnings being treated as errors
>
> /tmp/unionfs-20060608-0027/mmap.c:319: warning: initialization from
> incompatible pointer type
>
> make[2]: *** [/tmp/unionfs-20060608-0027/mmap.o] Error 1
>
> make[1]: *** [_module_/tmp/unionfs-20060608-0027] Error 2
>
> make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2122_FC5-i686'
>
> make: *** [unionfs.ko] Error 2
>
>
> Can someone tell me what version of unionfs supports kernel rev.
> 2.6.16-* ? Help appreciated.
> Thanks
>    - Patrick

-- 
regards,
Elia Yehuda, aka z4ziggy
Archie project, http://archie.dotsrc.org
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to