From patchwork Tue Feb 28 19:45:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomohiro Kusumi X-Patchwork-Id: 9596703 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 2FD93600CB for ; Tue, 28 Feb 2017 20:30:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 220BC28571 for ; Tue, 28 Feb 2017 20:30:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14AFB2857C; Tue, 28 Feb 2017 20:30: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.9 required=2.0 tests=BAYES_00,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 0615128571 for ; Tue, 28 Feb 2017 20:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751802AbdB1U37 (ORCPT ); Tue, 28 Feb 2017 15:29:59 -0500 Received: from mx2.mpynet.fi ([82.197.21.85]:28056 "EHLO mx2.mpynet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbdB1U3n (ORCPT ); Tue, 28 Feb 2017 15:29:43 -0500 From: Tomohiro Kusumi To: , , , , CC: Tomohiro Kusumi Subject: [PATCH 3/3] fs/mpage: fix a comment "get_blocks" to "get_block" Date: Tue, 28 Feb 2017 21:45:23 +0200 Message-ID: <20170228194523.2054-3-tkusumi@tuxera.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170228194523.2054-1-tkusumi@tuxera.com> References: <20170228194523.2054-1-tkusumi@tuxera.com> MIME-Version: 1.0 X-ClientProxiedBy: tuxera-exch.ad.tuxera.com (10.20.48.11) To tuxera-exch.ad.tuxera.com (10.20.48.11) Received-SPF: none Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's a get_block_t argument get_block being called here. Signed-off-by: Tomohiro Kusumi --- fs/mpage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/mpage.c b/fs/mpage.c index 28af984..67e9492 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -173,7 +173,7 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, page_block = 0; /* - * Map blocks using the result from the previous get_blocks call first. + * Map blocks using the result from the previous get_block call first. */ nblocks = map_bh->b_size >> blkbits; if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && @@ -197,7 +197,7 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, } /* - * Then do more get_blocks calls until we are done with this page. + * Then do more get_block calls until we are done with this page. */ map_bh->b_page = page; while (page_block < blocks_per_page) {