From patchwork Tue Apr 16 20:28:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 162376 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp4661614jan; Tue, 16 Apr 2019 13:29:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfu6dK4+rf1AxZwunlIy6Gyd4EoRfLah8vixHUwMXGbyirRRV3e4DEn0XQZcf5auy4L1zR X-Received: by 2002:a17:902:820c:: with SMTP id x12mr85267263pln.199.1555446542433; Tue, 16 Apr 2019 13:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555446542; cv=none; d=google.com; s=arc-20160816; b=vwiHcL/N+jzC7PZfHetE0M6aD+HiHu8j1wyUAeq+LafATfThfRmHF6MeBV2t222uWv s/p7C1bbpQC7dc6SmwFbsT+NX+ryaO6nzh+xvz19u2mhqyI6aKV5DcwgkENPxugrLRw9 cf0xr/RTHbncYKxZYzUfl1D0P/f2aqDrVnaO0uvJoX5hmq7fHEI2uM6aTQ8g2YBIBMAG 2YB5yADdvEIJt5+DK0PVLgHTzLscXupfJHEcAxG0AOrUXGFtrAP7PFYP7V34ifs90Vvt ugAeYyc5CDrkTD3p+LJRbCitILIjQ4Ji4AUJE1DMPiI4pRq05JBeAN8KAH13/qCcnSR/ aCwQ== 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 p3si48250379plr.45.2019.04.16.13.29.02; Tue, 16 Apr 2019 13:29:02 -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 S1730897AbfDPU3B (ORCPT + 30 others); Tue, 16 Apr 2019 16:29:01 -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 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(-) -- 2.20.0 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; }