From patchwork Mon Jan 23 19:41:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9533395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 45B4F6046A for ; Mon, 23 Jan 2017 19:43:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37AE128395 for ; Mon, 23 Jan 2017 19:43:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27408283E1; Mon, 23 Jan 2017 19:43:03 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 1B15128395 for ; Mon, 23 Jan 2017 19:43:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750908AbdAWTnB (ORCPT ); Mon, 23 Jan 2017 14:43:01 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34479 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbdAWTnB (ORCPT ); Mon, 23 Jan 2017 14:43:01 -0500 Received: by mail-pf0-f193.google.com with SMTP id y143so10572224pfb.1 for ; Mon, 23 Jan 2017 11:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pvEkYaAErZb9NQN713/c5MvqLAHOR1RRWJ+uLm7HUsg=; b=qc62wC0dkc05Bswf4KaMOzKj4uH/w9XLvl11qx8m0xoQzmkbhia6Ee7aFJfiugdtCg 08Wdr+/7lqCspnqdwlb7h5h27VKvuugE5a3RbtZ5dDeNNiRIt65urLexy5977hyBtDyN IdG1j/k4K9LHylpABbZA0kDekDsU6UJLf5sVUu4rT5bmYywTlO1WUSlBZjIG7Zkkgj89 cJP/8IpZRoNrj6ogo8dGJhO50T8SbhFVf1UZQVjdeJXZhFIsMYary2hI28fNDxcG8Ofm zkiv6WXyRPAm490oaAITXPlg87/gG3ua28Lfjwd4b6o9FniqCjI78URMMigOL5fGoM8x hYoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pvEkYaAErZb9NQN713/c5MvqLAHOR1RRWJ+uLm7HUsg=; b=tPgRtRjBRr6/Xaj6WPXzZnQwgYCmcbbccKXP5Xo1TiiftwBwq+ps4bbQ9dozGfgxyT qk0NI3mJaLGhtQzGcyT0vNB3sW1M8Ii2oYGHQMbdf0lM9xTm8WU4ZraSP+BlkYQQtrRu Pi+Ie3dpzYSuL05/bYZ93nFA3/5aXUlYojWNQpaFBKhh6MQ2Wlk8oGUmkA8hnDgbp+7D oexDMjO+1x928CqqenBBTjeb5edWMMhzDGaHhU74n81BugXgwvEST4xlPLPHmEWDlV1V DeXXViBXQma9dympj90dQl34gTyKIs0BW3WKwAepEy0l9Nrm1leAyJEBexjhT16qB29j dx/Q== X-Gm-Message-State: AIkVDXLVcLh50WiJMXRnqa8L6f5jDtP8TrrzoD/LlsnH3xFUbJmmtELgx8keu9EiofPLZQ== X-Received: by 10.98.65.15 with SMTP id o15mr31672629pfa.42.1485200580309; Mon, 23 Jan 2017 11:43:00 -0800 (PST) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.119.30.131]) by smtp.gmail.com with ESMTPSA id h14sm39077635pgn.41.2017.01.23.11.42.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jan 2017 11:42:59 -0800 (PST) From: Eric Biggers To: linux-block@vger.kernel.org Cc: Jens Axboe , Eric Biggers Subject: [PATCH] block: correct documentation for blkdev_issue_discard() flags Date: Mon, 23 Jan 2017 11:41:39 -0800 Message-Id: <20170123194139.51469-1-ebiggers3@gmail.com> X-Mailer: git-send-email 2.11.0.483.g087da7b7c-goog 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 From: Eric Biggers BLKDEV_IFL_* flags no longer exist; blkdev_issue_discard() now actually takes BLKDEV_DISCARD_* flags. Signed-off-by: Eric Biggers --- block/blk-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-lib.c b/block/blk-lib.c index ed89c8f4b2a0..463b76dd566f 100644 --- a/block/blk-lib.c +++ b/block/blk-lib.c @@ -109,7 +109,7 @@ EXPORT_SYMBOL(__blkdev_issue_discard); * @sector: start sector * @nr_sects: number of sectors to discard * @gfp_mask: memory allocation flags (for bio_alloc) - * @flags: BLKDEV_IFL_* flags to control behaviour + * @flags: BLKDEV_DISCARD_* flags to control behaviour * * Description: * Issue a discard request for the sectors in question.