summaryrefslogtreecommitdiffstats
path: root/fs/generic_acl.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2010-11-30 16:39:27 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2010-11-30 16:39:27 +0100
commitd9d318d39dd5cb686660504a3565aac453709ccc (patch)
treeff818170ca69976ad2cfaa77ed788e645c4d80c9 /fs/generic_acl.c
parentLinux 2.6.37-rc4 (diff)
downloadlinux-d9d318d39dd5cb686660504a3565aac453709ccc.tar.xz
linux-d9d318d39dd5cb686660504a3565aac453709ccc.zip
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+]
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions