From patchwork Mon Jan 23 19:43:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9533399 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 C52916046A for ; Mon, 23 Jan 2017 19:43:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B785628395 for ; Mon, 23 Jan 2017 19:43:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABB932839C; Mon, 23 Jan 2017 19:43:33 +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 60E9828395 for ; Mon, 23 Jan 2017 19:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751016AbdAWTnc (ORCPT ); Mon, 23 Jan 2017 14:43:32 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35317 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbdAWTnc (ORCPT ); Mon, 23 Jan 2017 14:43:32 -0500 Received: by mail-pg0-f66.google.com with SMTP id 204so14460801pge.2 for ; Mon, 23 Jan 2017 11:43:32 -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=3eh/9jsco0dg43D5wRWZChTHabhznTjZFa/ZtN4QhRM=; b=dIqHfmTn7T7204bxfQcy+JlMwjQZVSHM2AFfPKTQCTKIHSWhEQRm2uNcV3/ohDBzYJ ArOhAWnp/3rSu5iZOqro+cRu75v8XCNau9uZJ5qCTRLMmqoAigzCsUAdOHJdbsBeTaB+ D9Cz+iYHY5HrjVp1hab331qXzfl4iS/ShA0YpupGPEjjhYJuL9OdXK/EAfgQhAmo/aFi gZrdv/LH3+h2ZU+yj6Pp85lnoOHph88Lacal5YQg8lZAUxsiuUsc3NEqd4i3TizDftW7 IR5sc3bUx3RWi65v1+M1YXPLZsQRSIfZrcFKSTfwoCiz1DgbJEYzniPguT5BS0/Zgiq+ W37w== 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=3eh/9jsco0dg43D5wRWZChTHabhznTjZFa/ZtN4QhRM=; b=D1xjZAtvfvPECNhYJglEj0BeE6M2p2mGy9USTq6zAIB4d1u7rsvINUtvhVGhapcxEX t4WlPXz+Ynn7b6N1he9Ys3Xarj7s3xVK4FL6OTErFKC9YXH/BJY2XlWVsr97Qs4XTrYO 6t3QhiTelAPt4HdvV4tjwOVBGt0QHjCCRfoh4BU+QdtcrOZKQa73zMLBeGbrxCXSpjlx uxga6hOo0q9Yz+/u28EZ2UjcsD3gYf/cpqy+iMZMKoDiuJLN97v55JvpTUPovc/v1KAl Juyx2E7aOMA+2englJq+X+zjBzmmkYBsA93cGYwAkWEHwnJ6VP086q+idra/lKdzQ3b1 qlBA== X-Gm-Message-State: AIkVDXIGSTm2zU+WSNU/78OgDStLax4lY4OCYefTZanIDo2XNJPMR6B8l2Z+6NOgv5CcQA== X-Received: by 10.99.144.68 with SMTP id a65mr34314472pge.54.1485200611893; Mon, 23 Jan 2017 11:43:31 -0800 (PST) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.119.30.131]) by smtp.gmail.com with ESMTPSA id u75sm29395574pgc.31.2017.01.23.11.43.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jan 2017 11:43:31 -0800 (PST) From: Eric Biggers To: linux-block@vger.kernel.org Cc: Jens Axboe , Eric Biggers Subject: [PATCH] block: remove outdated part of blkdev_issue_flush() comment Date: Mon, 23 Jan 2017 11:43:21 -0800 Message-Id: <20170123194321.51596-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_issue_flush() is now always synchronous, and it no longer has a flags argument. So remove the part of the comment about the WAIT flag. Signed-off-by: Eric Biggers --- block/blk-flush.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/blk-flush.c b/block/blk-flush.c index 20b7c7a02f1c..3c0ab7361e46 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c @@ -490,8 +490,7 @@ void blk_insert_flush(struct request *rq) * Description: * Issue a flush for the block device in question. Caller can supply * room for storing the error offset in case of a flush error, if they - * wish to. If WAIT flag is not passed then caller may check only what - * request was pushed in some internal queue for later handling. + * wish to. */ int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, sector_t *error_sector)