From patchwork Wed Dec 11 20:42:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181318 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp1042384ile; Wed, 11 Dec 2019 12:46:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyYKO+8Ab9A/W+nD/BXkmlhMqIJlm73JUCBuf20CkFVslLMFtcQ49HYdyQn5KAv4drQpqRE X-Received: by 2002:a54:451a:: with SMTP id l26mr4362632oil.69.1576097161990; Wed, 11 Dec 2019 12:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576097161; cv=none; d=google.com; s=arc-20160816; b=qMxEzy9Erfz8mJ+4la40i2tS8M0UCfdxx3bg1vQWL32G9YZp+4aYhzkPoHj1i/zJpx gVYsgpNmf7y1snmYZBKqnpDpuDQJwHwn/X46TAai9mTHkuflax8On0+xInd2O+f2t/EP EoADaZzLu227zRlQAMnjfE53/yUr3i9EpVAPkwuGvpAw8zTtzmUcd31hSp6p14Hr2Wjl WMurCDhmv/16lGSyEEgaMgZq+ZH70tSXMLmNsXDHO3Vcp43HMFRt3twvQ+1iDJCohm/P ndC60zUH4ypjSThdGoYbil4BUVyZjbGQjNw0TRSgZTR5NVMDL9IME3GiiM+5cnDQMFfO /17Q== 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=RNcmVXAVAm1eaQs1hlIab8YVHih2i8Q71Oh4kk7vJeo=; b=bdvNhBwNQkpI4KoHeHQf/+gT/K0yIyIjflj99rZgwCGb6IiCjSUqf1Nwi36Dfl+FGk dSnMU8VqjqYu5QqIGCtBJMLVx4DsGo9en8rDcxcZ845/5ir3il9PimpNLtgEcCw1hh9S 9OmgCVU6a92he4AqQ3OI2kz1OPXF7M23f95rgqosxmOnEBb7wCGCOl9yc4vbl7iPumwb rDivkXkZgBIQol0/dUurfAv6R6C3/XtYaZbexVhG+SyVaxUFc8pkuviUEYmOz5JsonVb RxViKJV8wb75B+lWfAxf3CJTJEjDI35KiBBrsdbf9pIXdGlRn3xlLPbDyYaPAINWZjkx mXjw== 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 d62si1996667oib.144.2019.12.11.12.46.01; Wed, 11 Dec 2019 12:46:01 -0800 (PST) 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 S1726831AbfLKUp7 (ORCPT + 27 others); Wed, 11 Dec 2019 15:45:59 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:44829 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbfLKUp4 (ORCPT ); Wed, 11 Dec 2019 15:45:56 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1Mz9hF-1hkH0n3Mhf-00w9tu; Wed, 11 Dec 2019 21:44:54 +0100 From: Arnd Bergmann To: Jens Axboe , "James E.J. Bottomley" , "Martin K. Petersen" , Alexander Viro , =?utf-8?q?Javier_Gonz=C3=A1?= =?utf-8?q?lez?= , Keith Busch , Hans Holmberg , Matias Bjorling Cc: linux-kernel@vger.kernel.org, y2038@lists.linaro.org, Arnd Bergmann , Christoph Hellwig , Ajay Joshi , Dmitry Fomichev , Damien Le Moal , linux-block@vger.kernel.org Subject: [PATCH 05/24] compat_ioctl: block: handle add zone open, close and finish ioctl Date: Wed, 11 Dec 2019 21:42:39 +0100 Message-Id: <20191211204306.1207817-6-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20191211204306.1207817-1-arnd@arndb.de> References: <20191211204306.1207817-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:T3P5inF1wAM0JTp0sDl4O/rqOEQcKKwFPNK080bhsoSzCuvH5os ZIz9G1k8iLEMcivvXznzuZIw7nXoa/IH9pBhTIMo4P4a9A/jq38deJ8BsqLgViD1Gy9X9Z2 amoGNEETinCQm5AIH4yoHFkPvGOvZBVENg0im+gyXDWmVBV4mvW65rzxxvxBlkQGl7iAkuq keBfNdGCjbKGo/blJPJ3A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:y0zEiubbezU=:bi2nIJ6/zTdNQgNrAQOGBX V7vMHhKw/sGC5woyeRTf4QRRUx0TgILAMf8tehFX0MaOP6jFADznPL5YvFZdP/8KBsa8VHUbC aTSmvIjP91oBYVflD9bf3dTv+TM4jQxTpzv15O6HEdOexET67KWy3Be6UFfb4hG5D8FXNGm9F GdOgK7uOqItMAqHbxSqQOX0m0PDdLflVHlRzfCzmMtszJqW33G3ZUyE7yj1rXZzDg7gDYuZdc idOE65NXc3yZz+eiqNSKf2IzdL0nbFdboeLDpfE9UayxXtFjNaqvmEwlyUtogWyleRJXi4Ook gNqQntW55PioCE+OFYKe+s7zE9lN3rNUQ0uWWkCcU50lFGb3Ghd2ImwjmjTtJX9avACuqBLl4 Eq222g4k2YtpuZralMccFnATxMli3e1iUWiT909sw8PyG1g9bap0E1UM6a4URRJ9FE75iUisi tNPlPIwCqTv63RQ3ffUFwl2rWDoRRxjNGhaE32WBkrUYUb8HDWOYNnToxia5Lqhr834m5/QNG xZg8yXK4XMgdHWgXB6c3t63k6K0W0hNB1XAE4cad/gkEFsSZjw8JGgSVsbMMM5nXxdC6RKT/S ZdqOOs6nRczydptZAMhfub/HIFnQPsECNsGVeErqLKRWYl5VVSwAYzmGjjvhhOCBkrl9oV1oL pEb5rDH4teu/dkisZNrqdJgJnE9MGEuDMShclIPlpqmwwC+pVhxb3vTzOIWAFiQHY2YtKYlcU W+/gq1Grakw6tdd5G7LstR7Mm8eYYSBldJ1lCrJ6q/MgyasJLcJ+FBr6vxzpiSG7I1Urf4OAj 0uZU2cZH62GHsFyTBOmKkvWmRX3czxeCNqr4zQA78VMDQQRYzn1QsCw8Kj9LoaPBw9tA7oJpa z3grqTX8c9r65hGmvbqQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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") Signed-off-by: Arnd Bergmann --- block/compat_ioctl.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.0 Reviewed-by: Damien Le Moal 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,