hi,

i patched the kernel-2.6.36-sources with unionfs-2.5.7_for_2.6.36.diff
but it fails to compile. Here is the relevant excerpt:

[..]
  CC [M]  fs/unionfs/commonfops.o
fs/unionfs/commonfops.c: In function 'do_ioctl':
fs/unionfs/commonfops.c:743: error: 'const struct file_operations' has
no member named 'ioctl'
fs/unionfs/commonfops.c:746: warning: passing argument 1 of
'lower_file->f_op->compat_ioctl' from incompatible pointer type
fs/unionfs/commonfops.c:746: warning: passing argument 2 of
'lower_file->f_op->compat_ioctl' makes integer from pointer without a cast
fs/unionfs/commonfops.c:746: error: too many arguments to function
'lower_file->f_op->compat_ioctl'
make[3]: *** [fs/unionfs/commonfops.o] Error 1
make[2]: *** [fs/unionfs] Error 2
make[1]: *** [fs] Error 2
[..]

If i change in fs/unionfs/commonfops.c and fs/unionfs/file.c "#ifdef
CONFIG_COMPAT" to "#ifdef 0" everything works fine.

CONFIG_COMPAT is "y" in my kernel-config.

Kind regards,
Mit freundlichen Grüßen
Moritz Schüpp

-- 
Moritz Schüpp
Systemadministration, Internal Systems
Abteilung Technik

E-Mail: [email protected]
Telefon: +49 2203 1045-7366
Fax: +49 180 5 66 3233 (*)

-----------------------------------------------------------------------
Host Europe GmbH - http://www.hosteurope.de
Welserstraße 14 - 51149 Köln - Germany
Telefon: 0800 467 8387 - Fax: +49 180 5 66 3233 (*)
HRB 28495 Amtsgericht Köln - USt-IdNr.: DE187370678
Geschäftsführer: Patrick Pulvermüller

(*) 0,14 EUR/Min. aus dem dt. Festnetz; maximal 0,42 EUR/Min. aus
den dt. Mobilfunknetzen
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to