Message ID | 20191217221708.3730997-3-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp6382745ile; Tue, 17 Dec 2019 14:18:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyKzIhxRmrAXDJ4kV12EdsZ8uFhIg2L/mN1IGwlsg50CfAIbDQj1jCvZTWQqyy2bLlbvmcn X-Received: by 2002:a9d:6181:: with SMTP id g1mr41231720otk.104.1576621129028; Tue, 17 Dec 2019 14:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576621129; cv=none; d=google.com; s=arc-20160816; b=a2gmteSFlqw48tbGS4IWPhq/JVh20YMXoZveNWOcZFpgLb0zV/4Lb3fQCJFo7E+g9z JMepKTd/SqgSaHYhYT1gM2QUE8fzgagu/BMirGLJ7U8OAS37fBY15z0jmoSAhij+rk5u gkvamO9lgKIJqdYkGHemet8mSx/e68uwxCOevkbyOlswQz8vO0Iw6CjfX4EiS6KpzWMK l1i/EzNFdQgwXM+ppiurg77VGw4IcUTws0i8oXtZZigVWf98Cd+TV0I8ehP+lcVMlhem g/019q41/LB+8r3Bp/yi9PQG0owYEqTZ4I19PipH3Yeg0z3oIpIZHlPuZ0Q4jjafPZyR wzhQ== 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=9tp2fJUlv3xK1maF7YMvX2+1r6b+E3Vz9as4dsfMnAE=; b=DRTzFm7lTJX9AFj9tekArh6kVIU2toc5uPprmdzm17CdNDj28kXmJtkgVNOAQjdL+3 5P6ZRBMLsEHNcfeNQEC/p8enHAM1yeLVfrfewT969wmlbezXRXoNKudY0QTSjMK6+ym+ peUo8WhD/NWdO5BAk32zQS0BXeJn0+6bQdQ/DMNDaWnDl8J3qdjaptTEqMs2086On+tO HGkhFbLSO+R/nWWIpZI5mL5qa5oYqLJ+BThW08NY1x1lMRCp//JHbKFBPIeDb1sacK+o dDBBvdJYfSQG8k5Rlh8UKkwMKbxg8A7/As8WfbV+TgWwWaKTAkScM8PYnp8bDJOY6zHW xQGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s129si7055449oig.177.2019.12.17.14.18.48; Tue, 17 Dec 2019 14:18:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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 stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727097AbfLQWSs (ORCPT <rfc822;lee.jones@linaro.org> + 14 others); Tue, 17 Dec 2019 17:18:48 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:47933 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfLQWRo (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 17 Dec 2019 17:17:44 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MJV5K-1iNTtD2mu8-00JtoE; Tue, 17 Dec 2019 23:17:23 +0100 From: Arnd Bergmann <arnd@arndb.de> To: Jens Axboe <axboe@kernel.dk>, "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com> Cc: linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Christoph Hellwig <hch@lst.de>, Ben Hutchings <ben.hutchings@codethink.co.uk>, linux-doc@vger.kernel.org, corbet@lwn.net, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, stable@vger.kernel.org, Damien Le Moal <damien.lemoal@wdc.com> Subject: [PATCH v2 02/27] compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE Date: Tue, 17 Dec 2019 23:16:43 +0100 Message-Id: <20191217221708.3730997-3-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 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:g9ac37aU2A7D6GQqud2omy5i2QGTVE1qppkCL5XwIDeUd8bobTc MveRQyw3+9pR5kUrwwKPYkI72gAZcTFNOFPrXHHjoLZDSE//MQTS40wwyPjouH26AbGYVAe jAM7wjF2oIGdwXn7+yQnLwHO5GyBuoGAp+pfHTjpdbXQt7rRjN5nKS181kK7PLyXD7q+Jnk 7vH6FPtRoMkX/848Z91BA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:zG7SE8/0MZM=:KEUrtjVSBoJBU02gLbM6J4 2EagqdafkKPJhjR/Tm0F8ZE1uyWfOhPXtbj8Wi3q3Gozys9rJExO2wo4fo8ZxCs7OxZ1eEZ9J QepdDyiAeclC3QZ/nS2SRQc5KfTpwTH81BOMbRk1pkWO7VBTU+1d7i6HOwYh33TmvPTPsizvs MMVgM2K0tstvZ4ElOoVo5v3o6ev5YpWZCxE8GktYvG0zounkN5I5TObuXVKKerlR6AbILeRZx /SvdM3xC+vzZR3/4WQiVK0BrlEnAgJ7KBwyX6MdtdE4Vvmg6kHUwBOlViwl2zJ9VpG5T9tSMQ ptvWX8OIXgyH32USJldmEISgyLbpyc/eJEzcidHTWP+AeRnZSScA89uCQDZfTfMSjLQK8+D+C OKwhn/bEDCgSv9BBWyaqngtW8TdY26Ab7veXc4nSFkq/LFamorGan0OT77JgAGrbr8TCrZYhS tUPJGutM0iBHjyEkanop9hfxbHlXtYyhsW7onbWfmOTufD/d82/k+BcJLxijM9GtV7irNjQ6R S4AUe9RBV7iJypejiG7xbrn9Ga6alfisodAiti+85iaJubN0gAVQHFirx85oCSZF7amaWoB7G +mTlrAJIOEZZTJxvrpGatRoArgx5Vy27kBC02ny5s8R1qTsSnFQTQfWvl7PfefpvaeIA/i2a0 D6wN5emM0HXJ04BR4P6Rb5hAuUZQbl+72JxXEEg/LLU1GzBkmKmYP3yBes+k1IjkANfSkmKPz SIUNKFKLEMW9a18wGjAEUepv0t21kQ/C1T3JHWUNJ7MndLZoLXEmGzXwk3ZSVBITBQpZm5KOn JLehDsF+wQUW2hMIYQHtMPit53Y2etN3OEtSGjEUcmNbtag1dXyqMvACIelUubtCVGwnnnsOa exU8Q+G3QGndB70dx2Xw== Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index 6ca015f92766..830f91e05fe3 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -354,6 +354,8 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg) * but we call blkdev_ioctl, which gets the lock for us */ case BLKRRPART: + case BLKREPORTZONE: + case BLKRESETZONE: return blkdev_ioctl(bdev, mode, cmd, (unsigned long)compat_ptr(arg)); case BLKBSZSET_32: