The code to handle compat_ioctl had wrong args. --- fs/unionfs/commonfops.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 51ea65e..e2704a9 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -740,10 +740,8 @@ static long do_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 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) { - err = lower_file->f_op->compat_ioctl( - lower_file->f_path.dentry->d_inode, - lower_file, cmd, arg); + } else if (lower_file->f_op->compat_ioctl) { + err = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); #endif } -- 1.7.2.3 _______________________________________________ unionfs mailing list: http://unionfs.filesystems.org/ unionfs@fsl.cs.sunysb.edu http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs