Message ID | 20191009191044.308087-27-arnd@arndb.de |
---|---|
State | Accepted |
Commit | caca7d10f815c9e70b5d34ca4807ee5c01e19a86 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1172684ill; Wed, 9 Oct 2019 12:13:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0fjQjJ4dAOut/IK8OZcEZdIc1wuDWYd1AUVatkWF0UGNkX63IwLiswhyWuH2NPw4wkfa0 X-Received: by 2002:a17:906:1f16:: with SMTP id w22mr4416173ejj.5.1570648380982; Wed, 09 Oct 2019 12:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570648380; cv=none; d=google.com; s=arc-20160816; b=cB/h1iNPxqi2C3AtUvXLqVrxmvzTGGpWiD9o0+CcIIOZOiafdBF3YTJZNKL2mT3xF/ D9RooPd2Xm8qRydgqWlHFUI78Mco6Jh2KP5cDDtijNJ1/8iDCBBSXE1mt6Oc4pqIQQYw F0888ST5mkO7NvW8nPKFKOqHN2XFkjBwBuEn50J5lmQoZUyFd5/PC8BQiQNhcW6WRKdf AQE+fNjWxm/sd+dc/GXNGDfsYs95DMzJuTk86OpAul6YEzQnPjWVAeRWxm2VCwkR3HEt Svz9rtvBeVllO59tdd46DYCRqyFvmytghMO9hPp/1tzU15p8ymRZx8ndUUKPtDOYvt6R eeYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Ya0vuI+XJlGOPLdGvKS65YFkVCMh7ek2lcl3Myjaf5o=; b=v/04wnMl1UssxhUTgPOsRyPd0IebyUSweUUMdEGtKWPu41kHLRQjSPu6VIX5dQUqE9 yKlgDuab8N04EvIvienWVmT/iSIHIX2wLxYOocrdcy8fpJJ7pq6JYheJcCzRTg8j9m0v E3R/oErdR5ScsPr2hoJenHqcoXydWJaLJx0lzekU2gDCTUD+8pDudNKhrkzSQM6tduVF yQszcC9d4OGZqFUqKUypotyTSW38BuGhpi6JEgipl0LqWYoEU/L8ZNaekheqIwmUTMkv fxS7yzRfUyThgADAZL2FkTrU1c4Fzvy7n7aSIOHu2ms4Pxxt5i2nN4Sf29jtcUUjYRTJ Uygg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si1671077ejw.76.2019.10.09.12.13.00; Wed, 09 Oct 2019 12:13:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732041AbfJITL3 (ORCPT <rfc822;lee.jones@linaro.org> + 26 others); Wed, 9 Oct 2019 15:11:29 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:44075 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731925AbfJITLU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Oct 2019 15:11:20 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1Ml6Zo-1hohFn2sKC-00lYdf; Wed, 09 Oct 2019 21:11:15 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-kernel@vger.kernel.org, y2038@lists.linaro.org, linux-fsdevel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, linux-raid@vger.kernel.org, Song Liu <song@kernel.org> Subject: [PATCH v6 27/43] compat_ioctl: remove last RAID handling code Date: Wed, 9 Oct 2019 21:10:27 +0200 Message-Id: <20191009191044.308087-27-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191009190853.245077-1-arnd@arndb.de> References: <20191009190853.245077-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:3CRT9Z12XUAyRUQyiP/Ny9jsvP99Xt3bB4wOaOH4lYcwl+MCQmr 4ny/SJ3flpq9XK569lBll1lT+ZebWGdnOOHMhvGO3qCwoz3R1rpUDMrZlo3M/drYoWDwS97 fHvSUA8p0sJNSXSBi2aKEM5iDl0xiG4oz9jUNO3T4N9PHEyZTyWhwc5eOnRcJolaM34C1Cw +qLzsqgP6uZJnGqvz02Tg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:Q7U5lfH9wpw=:NS4oi3Rk6pVuu5vooRritq cps6Gej39jDT2cTqPxuf34ErLBzJwUGbB9MHBLGdxFjlZ/BTru2GpXZI1bTfCCCuZ+0rUTasl xW6GAbhakr3dpYLVvCIcRfAoC/W7nOo4muDIL6OrOt8LRkhBQszFs7KInwH2hwZs2FS+cHQU8 N0NJuAQn1l4YAvTkkUPHnxDtUKEnx1Znl9aNbVSXwL5WA2jrcS0Nl5mXBamrkbfbLEhaOyw4C hqKkI96iPLmGYNwJGA4JC9S1uSIza7xXW+aYpZq3uasQAEEDgMuhXNXbN2/DHnyiM4uXdgwoB VTCUMQBCZIQDSca7ZyanfcjhQfGWxWiqAVqhDSQEppX/ZmxU+TJzHDcXg2gjzBU1BnHIEmAVH GdLqDg4mrT7dkULbGuvDiwhKlbnpdzYYyts0e9HmXsD7m4U04tW7USN1szd1Pqn1xercATVMv P+NkntIgTyWqM2Y/WTtdmUoIXqLvYP5r/DgXUwf6uKRqWMM9uu5sqgDfE39d0Vn1pRxL49bQm Q/dTVVHR+6M8f8ltlaI/aXDeMpWOuH4O1/QBVTCOfb1QSjULoid4X+Suh/pYR/9O6kGSdcP41 7S/8IBIHfDS1XJQmSEMB06ZlPF5egvAADFn+pEdw5nGlyt5PKKSy4sRXwUyndJ1eKsCCP1FDo pto1YyLZmQxa3Of/gudfvp4mGSNUKISXxtBUlu5CYQZHRFx5YO/wkWXAZOC89Pa8ZLiYLXyFi BXEerVpyU1zR5QL3cKpidsyN6Cn6zCags5Exsxglfn+3h7+l/r7MnkqH5KFFx2RzIO2X8Z2Jt CWZS8ZdZVV275ynQNraysjmfCUP6dXdE2oXnTjzwdLThEuOlPtFLS1zXl+UTd03zc59oNqV6m pyOKfuVdbxzihoVzqPDA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v6,01/43] fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP
|
expand
|
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 6070481f2b6a..1ed32cca2176 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -462,19 +462,6 @@ static long do_ioctl_trans(unsigned int cmd, #endif } - /* - * These take an integer instead of a pointer as 'arg', - * so we must not do a compat_ptr() translation. - */ - switch (cmd) { - /* RAID */ - case HOT_REMOVE_DISK: - case HOT_ADD_DISK: - case SET_DISK_FAULTY: - case SET_BITMAP_FILE: - return vfs_ioctl(file, cmd, arg); - } - return -ENOIOCTLCMD; }
Commit aa98aa31987a ("md: move compat_ioctl handling into md.c") already removed the COMPATIBLE_IOCTL() table entries and added a complete implementation, but a few lines got left behind and should also be removed here. Cc: linux-raid@vger.kernel.org Cc: Song Liu <song@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- fs/compat_ioctl.c | 13 ------------- 1 file changed, 13 deletions(-) -- 2.20.0