fuse: fix ioctl ABI
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 7 Dec 2010 19:16:56 +0000 (20:16 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 7 Dec 2010 19:16:56 +0000 (20:16 +0100)
commit1baa26b2be92fe9917e2f7ef46d423b5dfa4da71
tree1b4f24c149a01e74c17cb0c290952dd09778ca1d
parent02c048b919455aaa38628563cdcc2e691c8a9f53
fuse: fix ioctl ABI

In kernel ABI version 7.16 and later FUSE_IOCTL_RETRY reply from a
unrestricted IOCTL request shall return with an array of 'struct
fuse_ioctl_iovec' instead of 'struct iovec'.  This fixes the ABI
ambiguity of 32bit vs. 64bit.

Reported-by: "ccmail111" <ccmail111@yahoo.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Tejun Heo <tj@kernel.org>
fs/fuse/file.c
include/linux/fuse.h