From patchwork Thu Jan 24 09:20:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 10778615 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E196D13B4 for ; Thu, 24 Jan 2019 09:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C74BB2E393 for ; Thu, 24 Jan 2019 09:20:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC0BA2E394; Thu, 24 Jan 2019 09:20:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A66C2E345 for ; Thu, 24 Jan 2019 09:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726041AbfAXJUR (ORCPT ); Thu, 24 Jan 2019 04:20:17 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:11671 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbfAXJUR (ORCPT ); Thu, 24 Jan 2019 04:20:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1548321643; x=1579857643; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=73Bu1mb4hFLLrVPQMvw/H5Df/LXUPF9jzSo8IbE9Aoo=; b=haVj91FqiGWBEkqCYo4dQkDz2Gsa/coOuAbvlmB4k/jfNHMUdUmKVoHx H0Syhsh7hmfevCS7//DfLgOHjkb0eI5a6kDiGMfrO7TfocUNLlO2dtiRv izWH+Q66Nu4zgwyWCrDJuZRzaD/22AZ/U5QjIfMbEOYyDxFz/LaYu2+BG Uax14+XLzu0QE5KJ0FOBz/Ggfh8eDOLfYktwg68a3+VuPFp7yUnkTyr9d 4D/2Z5ma2s2olLFFVRfhh2eTJuPsmO7FWLSFhqe72l1KQDkBVDg3+66Nt JB8+WqkFEN2MYMt4ZqJI8GZdw9cHGy9SlFfTK3RmB4BsziXQaZH+kWlrc g==; X-IronPort-AV: E=Sophos;i="5.56,515,1539619200"; d="scan'208";a="197760771" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 24 Jan 2019 17:20:43 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 24 Jan 2019 01:01:24 -0800 Received: from washi.fujisawa.hgst.com ([10.149.53.254]) by uls-op-cesaip02.wdc.com with ESMTP; 24 Jan 2019 01:20:16 -0800 From: Damien Le Moal To: linux-block@vger.kernel.org, Jens Axboe Subject: [PATCH] uapi: fix ioctl documentation Date: Thu, 24 Jan 2019 18:20:13 +0900 Message-Id: <20190124092014.28656-1-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The description of the BLKGETNRZONES zoned block device ioctl was not added as a comment together with this ioctl definition in commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl"). Add its description here. Signed-off-by: Damien Le Moal --- include/uapi/linux/blkzoned.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/blkzoned.h b/include/uapi/linux/blkzoned.h index 6fa38d001d84..498eec813494 100644 --- a/include/uapi/linux/blkzoned.h +++ b/include/uapi/linux/blkzoned.h @@ -138,6 +138,7 @@ struct blk_zone_range { * @BLKRESETZONE: Reset the write pointer of the zones in the specified * sector range. The sector range must be zone aligned. * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors. + * @BLKGETNRZONES: Get the total number of zones of the device. */ #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report) #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)