From patchwork Sat Jan 30 22:02:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 75929 Received: from mx01.util.phx2.redhat.com (mx1-phx2.redhat.com [209.132.183.26]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o0UMSell024814 for ; Sat, 30 Jan 2010 22:29:16 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx01.util.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0UMQKr9018343; Sat, 30 Jan 2010 17:26:22 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0UMQI88009114 for ; Sat, 30 Jan 2010 17:26:18 -0500 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.14]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0UMQDqc021738 for ; Sat, 30 Jan 2010 17:26:13 -0500 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0UMPwVV024328 for ; Sat, 30 Jan 2010 17:25:58 -0500 Received: from klappe2.localnet (222-155-232-187.jetstream.xtra.co.nz [222.155.232.187]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0M7o7Y-1NxGI33lsO-00vPYL; Sat, 30 Jan 2010 23:25:14 +0100 From: Arnd Bergmann To: "Michael S. Tsirkin" Date: Sat, 30 Jan 2010 23:02:10 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.33-rc5; KDE/4.3.2; x86_64; ; ) References: <20100130205353.GA3168@redhat.com> In-Reply-To: <20100130205353.GA3168@redhat.com> MIME-Version: 1.0 Message-Id: <201001302302.10574.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX1/hqNpTBsikWrhpSJPHV29LKhlEy19MgERXWUD s0gn4BKD+HhqQf8abODUbyqGVVQkRLYaFAXK5PS79MbuODs5px 904/kqObJzqltEeQa/9IQ== X-RedHat-Spam-Score: -0.01 (RCVD_IN_DNSWL_NONE) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.14 X-loop: dm-devel@redhat.com Cc: linux-raid@vger.kernel.org, Linux Kernel Mailing List , maan@systemlinux.org, "Rafael J. Wysocki" , dm-devel@redhat.com Subject: [dm-devel] compat_ioctl: ignore RAID_VERSION ioctl X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 30 Jan 2010 22:29:16 +0000 (UTC) --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1038,6 +1038,8 @@ COMPATIBLE_IOCTL(FIOQSIZE) #ifdef CONFIG_BLOCK /* loop */ IGNORE_IOCTL(LOOP_CLR_FD) +/* md calls this on random blockdevs */ +IGNORE_IOCTL(RAID_VERSION) /* SG stuff */ COMPATIBLE_IOCTL(SG_SET_TIMEOUT) COMPATIBLE_IOCTL(SG_GET_TIMEOUT)