From: Artem Bityutskiy Date: Fri, 16 Jan 2009 16:06:55 +0000 (+0200) Subject: UBI: add ioctl compatibility X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=862e76977d0d37c6da308c27e999b9df55ef6c57;p=pandora-kernel.git UBI: add ioctl compatibility UBI ioctl's do not work when running 64-bit kernel and 32-bit user-land. Fix this by adding the compat_ioctl method. Also, UBI serializes all ioctls, so more than one ioctl at a time is not a problem. Amd UBI does not seem to depend on anything else, so use unlocked_ioctl instead of ioctl (no BKL needed). Reported-by: Geert Uytterhoeven Signed-off-by: Artem Bityutskiy Reviewed-by: Arnd Bergmann --- Reading git-diff-tree failed