From: Artem Bityutskiy Date: Fri, 16 Jan 2009 16:06:55 +0000 (+0200) Subject: UBI: add ioctl compatibility X-Git-Tag: v2.6.29-rc4~102^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f429b2ea8eadb5a576542a70f7fd6f5c2a7455e1;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