From patchwork Sat Sep 8 14:28:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 146242 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp628267ljw; Sat, 8 Sep 2018 07:32:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaWVJpktoqt8cfgknrD88ieb9QmU5dlV+oY23BO9WW0+V+XwtAdXd73cNrQVOp9ws7fk7/M X-Received: by 2002:a62:ee06:: with SMTP id e6-v6mr14297136pfi.2.1536417143802; Sat, 08 Sep 2018 07:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536417143; cv=none; d=google.com; s=arc-20160816; b=I2o+3oReZUmmkCBS6B/y2vCPoETJhXvl9L/npD2mFSKph7WV9g1SsPsXhiWbKctdhl ItFVuoMESyelCEimeI4/pXB5lDGPgchRjpqbqpiq09R3fspoOtlApUtd5Mr4I6EZ12u5 n9AUrcaNfyqo2LXtWoTfjsfEFbBVjEMK7OW3X8nNfcnmx8Zsd0kqxGqg30xdXZRTtL3Q VUl0/xDuowm8bnJaYW/5sZK1zlWEo7F7nrtIAh6zbc+idJ3/Tz9SIskNFNSU2E+OyGb7 5IqWh5nDbkXfFf2xvT7H+xwGFbqHVxHytw0kqe/y1yPgmtISqHV9ezWzm2J+6saTRtCJ /zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Dp+CUGKcTp2ODbXNlED6rffOXvRP72Zvtw5x5P3XneA=; b=YgSZkzf+AcFfYvF8XCJ3acUMq1hqzpwmfGknzjKNKafOrysjqYx5iycnlBCAiq3lAM rn9NLaym2osBmNqz4+UFfvrNs+xbzuUyVe3VQ7RwPzgSjkTzgB+92puJawEcuQtLyovw ao7/5/8EtoJsXi77ZTt122ckVJk+1bQ81jkJkjdctlNaQEdhm4tBSgv6RpxRlBVfWhBX Bfd9YzNIvs+0TUnY9q+IxVJNpTZ3+crkLmnGSKBVU8IaLpkmhwoyQ0d4UywbVT/9bQKY lslhr+NbQZZ3YaMKhoHiyA+85pCwsr7NoxY94O8YYDYywIG5gNOn93EXi41CPYqxII/6 68Rw== 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 n10-v6si12361955pgf.415.2018.09.08.07.32.23; Sat, 08 Sep 2018 07:32:23 -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 S1727728AbeIHTSV (ORCPT + 32 others); Sat, 8 Sep 2018 15:18:21 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:46757 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbeIHTSV (ORCPT ); Sat, 8 Sep 2018 15:18:21 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1M7sYM-1ftgSv3jta-004xrU; Sat, 08 Sep 2018 16:32:20 +0200 From: Arnd Bergmann To: viro@zeniv.linux.org.uk Cc: Arnd Bergmann , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] compat_ioctl: remove last RAID handling code Date: Sat, 8 Sep 2018 16:28:16 +0200 Message-Id: <20180908142837.2819693-10-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180908142837.2819693-1-arnd@arndb.de> References: <20180908142837.2819693-1-arnd@arndb.de> X-Provags-ID: V03:K1:iW7l/Gd5IQMh7nfRB2avxtImh6Fc3QsDzwqSE8CsNKg/ePQA3El vsnxK19XNvCGdRJlgqHCw8qR9tu67nekmJA0NhwUMaPudeCDp/RhL4t444f/KATXyLKZKmJ lNaFpBlrr/5zrrWu1k4rGlnBlAnbgTKOByJf/KWYljWidLjXd2s2PjpjIzWVBLoSPJ5sWYi y355Ts4qNTOIT/KOilbXg== X-UI-Out-Filterresults: notjunk:1; V01:K0:sC2n6bb9Lts=:wAD5c2VTEVHuJ8K8fvJJOD Pkm7DV4E8MXD0tSBVhZ8po58wHKmosjQ1VkeA5ADPgFozyMrAC5PRcvD9VRT7HO74hNx65sNB qdAJ2wsxQxqAXmoopcaCL2bbFH1jHV4ijCRLUyTRAwyxFwGoyyU15rbmrUabshOCsHAs13tDi 0F/Hzx1ONIwVZsIxD+yE9CNjli04nO7NuMvH2ldACLDK3apyK2J/lnc9wq4IsR8j+/uhlQEex GmfVNKv131g77qwtRlmM86hWyw7+OdyOdmGt/yFcHOEpPNq7LvjzPXy/7wkcr/uiMHxj21XwM vMk2Legm3MF568cyxATbupeVYqlKlZKO98uqm2y3Y4UJvP1aU+DxtRHqRaPDVJtnmeXw3J6wL +Hy1XBK7VEMgKgS1meODmWD0Af6LAlAvrMrf8o3dOinCgjMlViZxjlhqQfm2ej2HRRsmoWd32 VOcPlGU5VcWgsvOTXqwsscoasoNW9E9W0kUEtyRsXzePgzRVpagba7t6phEOE4LT3K4Tux6IK PB3RGoYEcNocW7MZjzCmW26WN2UnYyAexaxB8MxlsfCe50OP8QbvwJPIFZdcWPCy5uV2axgf5 +4a4m83kZCTRVqXnGoEfm1+VkVPtJC8XPC4olV3jrpj4/VnxJ22Tju6c/kdqBwbA215MQgJjF G48qnGO87Et7AGnykF1IdyJaxsTR8jTTtxJxdB++IYnEPjCrrzd7xJdWnLxM/CyY9G/8= 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 | 5 ----- 1 file changed, 5 deletions(-) -- 2.18.0 diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index e755802cd887..bb73d52f02a2 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -676,11 +676,6 @@ static long do_ioctl_trans(unsigned int cmd, case TCSBRKP: case TIOCMIWAIT: case TIOCSCTTY: - /* RAID */ - case HOT_REMOVE_DISK: - case HOT_ADD_DISK: - case SET_DISK_FAULTY: - case SET_BITMAP_FILE: return vfs_ioctl(file, cmd, arg); }