linux/fs/fuse
Miklos Szeredi d9d318d39d fuse: fix ioctl when server is 32bit
If a 32bit CUSE server is run on 64bit this results in EIO being
returned to the caller.

The reason is that FUSE_IOCTL_RETRY reply was defined to use 'struct
iovec', which is different on 32bit and 64bit archs.

Work around this by looking at the size of the reply to determine
which struct was used.  This is only needed if CONFIG_COMPAT is
defined.

A more permanent fix for the interface will be to use the same struct
on both 32bit and 64bit.

Reported-by: "ccmail111" <ccmail111@yahoo.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Tejun Heo <tj@kernel.org>
CC: <stable@kernel.org>         [2.6.31+]
2010-11-30 16:39:27 +01:00
..
control.c convert get_sb_single() users 2010-10-29 04:16:28 -04:00
cuse.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
dev.c fuse: use release_pages() 2010-10-27 18:03:17 -07:00
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-08-10 11:26:52 -07:00
file.c fuse: fix ioctl when server is 32bit 2010-11-30 16:39:27 +01:00
fuse_i.h fuse: add retrieve request 2010-07-12 14:41:40 +02:00
inode.c convert get_sb_nodev() users 2010-10-29 04:16:31 -04:00
Kconfig fs/Kconfig: move fuse out 2009-01-22 13:15:55 +03:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00