Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3537397yba; Tue, 16 Apr 2019 13:31:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxj1bLwT6c3KtzVwbgK1on/qOzNpFHH/H+7LvuHwaB4twTRhRKzOVfza3bbZjGQnThVIQMO X-Received: by 2002:a63:e818:: with SMTP id s24mr78342639pgh.190.1555446687692; Tue, 16 Apr 2019 13:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446687; cv=none; d=google.com; s=arc-20160816; b=CvK+Q/NxdoLpoqR6WB03GLlk/yLjsskvymYNdfeZA+kry6fKu1Qqylp6wrnHQdTLFq EccKurtOGGLyr8LsepJkQpZmUbdkV5j2sFn4kUL3rV272rFKtN+mE2QKsXNDNZRdU91N nv34od3IxkTvccezF32FX0+mRPR9HaijpcsOi/i3yLClnOnGoRjbs9IEfSdXioqRpbEV CxGb7nogSnVbKRewNdiNsBTAZA/pFfhYRklUUyH8qu01E5jEHIqa1lKUJ1lzrM5Hzn0E oZ5+nCea+qpwEGuXxb4f4+xzZAsbMBrfbm7hBrKscx27GMBcD6uk9DTnYkHOmThL6ext e5hw== 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=YW3UShcOUJQuypo5jaExc9Z4ZklEt3OVdxmqDJzjNAo=; b=yYy7j6phqZYVYl4ba6bS2yTW3pvowINOZNnTE8DTAcWl+YAnjsgJczZNLx7Esd75na CUXyRiZvXppbAFYnfpUwD9lZIoi2IxFBgRlyc3/cbVXYaPHcOIb6T0NILU3hTvGzb1r0 Hcnwk+4QFMX8Zq4g+U6sFxvzofDywFgUbGLr9c+/gcpE0dP7FN2bPYxXkjMaIehgNYJL zcti8oHmsimrbBxlPHOJ9UXaQ54hNtGNoaZiwXjxCayflbDKwzKt9zHEaSgb370Znvon x2+rX9CI+Dsu+UDVpUovgxjMXxPTsgZbksrlQu8wgcrJLXnPiVeRH9rlv4WnJFkxqXza +zwA== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si36642277pfc.283.2019.04.16.13.31.11; Tue, 16 Apr 2019 13:31:27 -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 S1730889AbfDPU27 (ORCPT + 99 others); Tue, 16 Apr 2019 16:28:59 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:41833 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730866AbfDPU26 (ORCPT ); Tue, 16 Apr 2019 16:28:58 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N9MYu-1gkkwe3aUu-015EvX; Tue, 16 Apr 2019 22:28:56 +0200 From: Arnd Bergmann To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH v3 26/26] compat_ioctl: remove last RAID handling code Date: Tue, 16 Apr 2019 22:28:11 +0200 Message-Id: <20190416202839.248216-7-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190416202839.248216-1-arnd@arndb.de> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202839.248216-1-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:kr37GgGf+FAvlT+Ih2yyYppWJzyd/T1IQq+sLtn8CWkKCuJB+ij t97YwUJguLn7fO+Zf/mVSeKYHREnqFvby2c7c6IXVZKxbaS8DDfMooioaV+RL6PmOTQVCHq tacD6C/ufvXWISqaCW1G7KJd5YRWhQN6QbHYvoRL3jyRJv6PlFkAOxHQill0qp/PkF+Bksa OgEQSEGZKEJhaQRrMYxSQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2Xx3458CozM=:XO71Q29thOiOAQO99iAITx l2IGPASdz//mh80V+XhBLN621DKXjYp+XM3OZsFtQb6ZZIH6eJOGOqbkRLqzZfwE4bQONDqRl QCiuyirtlX79abZ/cipVNyKhKOuYXK9w1No19Bu41FAzEiPd2uMpCk1xn4YHno4Wrp2t24PRq VYqOkIcj2wdCroQrCaG+nrtaXc/SRYJaCphRUoC6KS6q40RKNJwhMoOFHFaPEKlErKxBLHuej sOYRewgvOu/OKW5XconPDWRZSkKGyQDEK4In9x1WQB1sz/HJZpKQPAqXtmbRjoC1ilLzx8ASn ZnCj3tl+DK4ve8vLuGd7QHn3SI8a/jyDJqmubRmzNdYjGnLQl5QoZ5LSUHFLXYHCzf8Yba4Nk ePCNE0rPiI1Mwf0KD8X856s41h1fh4GRoQXVRfhGWCW7xsLrZLrq6NtlB17T7KOibwr8khooK kHi9vlmS31z8PiUaVDdZt0uRV163VxXPsWpsrI/vDKI+QhjYOqwmZ1lwv6ORgUUHKuktN1nS2 A3Oq6k0nfil5cLpGlZxGW2lpWjpLG1te2mhW/Hp0LE31nmhgln2MuUV3d9LR+G7yhMkq4iJSM 0moPEoSgI+6Pg2cgU5Y28qdQEEs/WnvkOsNTqgyHpAKd2QmkzxFgAEbgkMMGBRtgCzZml6JsG t9mtSIzfuktyYOPTdgICO758slYUXYA2boXcDp++xCkpD7zOx8IvfU6LvGBlF+FyNlz4GsSCd 6uSKeMooEH516yYNrdU2kimgp95z1VnfEG4XlA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Arnd Bergmann --- fs/compat_ioctl.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 63de00cc85df..09f42e0585b7 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -394,19 +394,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; } -- 2.20.0