From patchwork Tue Dec 17 22:16:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181955 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp6387100ile; Tue, 17 Dec 2019 14:22:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxjnIoyx/lUwkt9nOgSkoRS64AqXhudP2eH8WHP9EHwvbPTH6WXyMJTWNgGoDflidpgX69+ X-Received: by 2002:a9d:367:: with SMTP id 94mr641893otv.329.1576621362698; Tue, 17 Dec 2019 14:22:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576621362; cv=none; d=google.com; s=arc-20160816; b=tA3qisit4SpKU6c2I1CW6eW90/HNruAFxWZ8LKoCXodHG4DDPLD2n+2/XBK7lTXdzy 94Ri6U86kr76n7KB7WQFm0g/vREb6aZU6g5OslQ98OA9mfiKBF0gIazOqomPAeQ/Ao8y RWvd2CmGmV1QKp6mhjLfBgOy2MDdyEKd1gUdQq27Bd8OWrX+PI8fs4lbIlSRBnqTPDKc uNTaz81ajYAb/V5D+Gf+OJdLMAWDPju2XCuIxCG9wPrhX5Mgn/8MJdF+pLc3UQL4Cn4O BtcMOY8k4MBcPrd1GCPswKH8SxKuQlfSFK3ZXKEMOagjsofnU0MyoUcRvXENIri9zoT5 bQ9g== 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=TCIwKOUeabTZsIms0Eij8m5W0Evd/GMIh5XZPqDOjlY=; b=zXZVkznw5QstaxhcPVJAa4W4Mv+/5pNzNBiL6zwAa3nKODxLBMTz/igdTAjVwNxfMz WUVWJKhPJ75YGG44q4yrs0Jb/Uh4DLfs4G+QCIn3ZGQk1RRca4H8jT1uW1Gv33pSzAJ4 ajq4alQ8q7BI3lbkRcyj8F8PvcRO2qpMJMLNtzVlQ1CqLdBRsUtVg/nc17RkAm1C2LUG LyY49y97P0k2gOM/jCcx5vK5xUxutkXTI2V3NJRh3Z0CfYo6gW2455qRxb1dA8wlvN0T y/cM4egI4DSV3ZcAbQnlBepd7SekkgI+uxqdiq8FUeuZyslZVbobenS4k1DdLl7ffddd 0wDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-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 t7si14139977otl.133.2019.12.17.14.22.42 for ; Tue, 17 Dec 2019 14:22:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-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-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbfLQWWl (ORCPT ); Tue, 17 Dec 2019 17:22:41 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:43763 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfLQWWk (ORCPT ); Tue, 17 Dec 2019 17:22:40 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1N4yyQ-1hiwzo35zY-010xJi; Tue, 17 Dec 2019 23:17:24 +0100 From: Arnd Bergmann To: Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Ben Hutchings , linux-doc@vger.kernel.org, corbet@lwn.net, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, Arnd Bergmann , Damien Le Moal Subject: [PATCH v2 04/27] compat_ioctl: block: handle add zone open, close and finish ioctl Date: Tue, 17 Dec 2019 23:16:45 +0100 Message-Id: <20191217221708.3730997-5-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191217221708.3730997-1-arnd@arndb.de> References: <20191217221708.3730997-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:gu/sZ8TIEZHaNMokJWZJ2X/rL2ysrVtrFNyi0SMX6prix2pGIWW bAPVJ8fwpN8E/mH6Nc/QBm6u/qo4Tvn5SQjEffGJQQ0pqczFhRJkII1FGsCprkk0Bm9Mp7S bPZtEphmmlcYdUTV6MyI0eM1M+OkiwJopBU1dcguNoVzj0J/NcGJldmWoOE4st0Vk3Wc+EZ AsAGp/sInmVO2GHX+D+bg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:PZzd4xrTh1k=:O4HFuv5nV8diiq/ph5n5Gr qf4n+7oCpROKsWo1y2SYeW91P85f6Qflgw/6lY7L1mr97wtEbH6FSNZD5YVHljnyqEpuEge/x igMySXnwDbTKop7DCYDSAsYWFVUMr82xvXBwq9CPkuIyH3mWCbap4y+gTZtGuR5UVlO9XD0DX csBbpzz/fdeVdn18z9BVw7IF0cP3xbNq9ATsOs4oO2D23gSuRlETFGY32yYd+mld9NAAfFFID VntMuQCrGbwBsICwhCOcBfGmUQFGHlG8hOaNOHQPQNgbo2l5f0h0uSF0wQCr3UQG1a7jLq0zP E8hunDXra3WNSNh+Fb48UCaYoj1hqmAylf69bDnJJNO1AMGd4ydVAj1sGBqKEjliixmMVBQ6D aybJCJCv/RJiJMT8Lvh3jgCFKX9VURq5G/vMOvSArwRi7Bp1/IQCuAkhvIXPQKed4dFIMy7qj GGZ0FmDM1X/sOr2EDL572pMUoPN8lDpApPfjkar0u31u3tzsmWWpPIIw3DAb9bMOOCIH101zL /z6ilD/gTLCeVqMjNQXZH34TDDsMp8sjlHLXGBmC0jdp8OyQsWNpOL4nOZFdbxPq/nbXE+97f NeW73c8z807bRs9C15zVqFwVrTZHPWYl9fq20EOQG8FStNxQx7028GQpWMPvqxFiZPcpOyUxf a4r8+swDX3SaUnxU5fiwKyqNrx5bfGZ/kl4iNtSz8xpXT68QSSY1JZ4chjAiHdtk0/k+lk1iP +s8EGZZJVn+Hqf8F/NdDYJZM0dpzajmFia1hLchlr6J7nLCK+yEzAdNmhVGQwLPV1hC1U1szV 4PY/3xiTfZkiaDLxyvlIrB5l+LE7JEd/x7p0JTG5Ze7QPa1vX/AeCbYOtkhpJYT5ZwM0lqEUY C1MhosgOmGZqGHhJZDIw== Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org These were added to blkdev_ioctl() in linux-5.5 but not blkdev_compat_ioctl, so add them now. Fixes: e876df1fe0ad ("block: add zone open, close and finish ioctl support") Reviewed-by: Damien Le Moal Signed-off-by: Arnd Bergmann --- block/compat_ioctl.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.0 diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index f5c1140b8624..5b13e344229c 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -356,6 +356,9 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg) case BLKRRPART: case BLKREPORTZONE: case BLKRESETZONE: + case BLKOPENZONE: + case BLKCLOSEZONE: + case BLKFINISHZONE: case BLKGETZONESZ: case BLKGETNRZONES: return blkdev_ioctl(bdev, mode, cmd,