From: Artem Bityutskiy Date: Fri, 16 Jan 2009 16:06:55 +0000 (+0200) Subject: UBI: add ioctl compatibility X-Git-Tag: Release-2010-05/1~3^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7a7cb6c5723fbd51e2e5767d4de9d9786da021;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