Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934770AbZAPR0J (ORCPT ); Fri, 16 Jan 2009 12:26:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758169AbZAPRZz (ORCPT ); Fri, 16 Jan 2009 12:25:55 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:49389 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757574AbZAPRZy (ORCPT ); Fri, 16 Jan 2009 12:25:54 -0500 From: Arnd Bergmann To: dedekind@infradead.org Subject: Re: [PATCH] UBI: add ioctl compatibility Date: Fri, 16 Jan 2009 18:25:37 +0100 User-Agent: KMail/1.9.9 Cc: Geert Uytterhoeven , linux-mtd , LKML References: <1232036381.25068.10.camel@localhost.localdomain> <200901161324.35271.arnd@arndb.de> <1232116447.25068.27.camel@localhost.localdomain> In-Reply-To: <1232116447.25068.27.camel@localhost.localdomain> X-Face: I@=L^?./?$U,EK.)V[4*>`zSqm0>65YtkOe>TFD'!aw?7OVv#~5xd\s,[~w]-J!)|%=]>=?utf-8?q?+=0A=09=7EohchhkRGW=3F=7C6=5FqTmkd=5Ft=3FLZC=23Q-=60=2E=60Y=2Ea=5E?= =?utf-8?q?3zb?=) =?utf-8?q?+U-JVN=5DWT=25cw=23=5BYo0=267C=26bL12wWGlZi=0A=09=7EJ=3B=5Cwg?= =?utf-8?q?=3B3zRnz?=,J"CT_)=\H'1/{?SR7GDu?WIopm.HaBG=QYj"NZD_[zrM\Gip^U MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901161825.38029.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX1+kPfeyo8j2mnviVj/ZXogOhCBDd28RpkOCWfN g2ApI/usA6M8CVdTM2fh/9DUAMZBPw7wiyEEWtkDz2+FXXOCoB dupd3nTq9owLKCRCCThXA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 923 Lines: 22 On Friday 16 January 2009, Artem Bityutskiy wrote: > From: Artem Bityutskiy > Subject: [PATCH] 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 Looks good now, thanks! Reviewed-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/