Hi,
I appears that UnionFS for 2.6.36 fails to build when CONFIG_COMPAT is
defined, because commonfops.c contains a reference to ioctl(). I'm
assuming this was just an oversight since the next line references
compat_ioctl(). Patch is attached, thanks.
--
Matthew L. Creech
diff -purN orig/fs/unionfs/commonfops.c linux-2.6.36/fs/unionfs/commonfops.c
--- orig/fs/unionfs/commonfops.c 2010-10-21 16:29:51.033693283 -0400
+++ linux-2.6.36/fs/unionfs/commonfops.c 2010-10-26 17:00:09.797131975 -0400
@@ -740,7 +740,7 @@ static long do_ioctl(struct file *file,
if (lower_file->f_op->unlocked_ioctl) {
err = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
#ifdef CONFIG_COMPAT
- } else if (lower_file->f_op->ioctl) {
+ } else if (lower_file->f_op->compat_ioctl) {
err = lower_file->f_op->compat_ioctl(
lower_file->f_path.dentry->d_inode,
lower_file, cmd, arg);
_______________________________________________
unionfs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs