]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83d10015be9147195be16c9ae398f520b5c60e87
tree1b4f24c149a01e74c17cb0c290952dd09778ca1d
parente27ca836415a60df27192182ac2b3b642b469026
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