From patchwork Tue Dec 5 12:23:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Long X-Patchwork-Id: 10094897 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 1786760210 for ; Wed, 6 Dec 2017 03:11:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3E8F29A9D for ; Wed, 6 Dec 2017 03:11:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8A0A29AA1; Wed, 6 Dec 2017 03:11:01 +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.0 required=2.0 tests=BAYES_00, DATE_IN_PAST_12_24, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 54E8529A9D for ; Wed, 6 Dec 2017 03:11:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754523AbdLFDK7 (ORCPT ); Tue, 5 Dec 2017 22:10:59 -0500 Received: from mx-fe5-210.meituan.com ([103.37.138.210]:53331 "EHLO mx02.meituan.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754448AbdLFDK7 (ORCPT ); Tue, 5 Dec 2017 22:10:59 -0500 Received: from dx-it-mx02.dx.sankuai.com (localhost [127.0.0.1]) by dx-it-mx02.dx.sankuai.com (Postfix) with ESMTP id CCBF2297D5B6; Wed, 6 Dec 2017 11:10:56 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by dx-it-mx02.dx.sankuai.com (Postfix) with ESMTP id AC1D0297D594; Wed, 6 Dec 2017 11:10:56 +0800 (CST) Received: from mx02.meituan.com ([127.0.0.1]) by localhost (dx-it-mx02.dx.sankuai.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dO1uNcVlRweQ; Wed, 6 Dec 2017 11:10:56 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by dx-it-mx02.dx.sankuai.com (Postfix) with ESMTP id 2E3F3297D59F; Wed, 6 Dec 2017 11:10:53 +0800 (CST) DKIM-Filter: OpenDKIM Filter v2.9.2 dx-it-mx02.dx.sankuai.com 2E3F3297D59F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meituan.com; s=20130113; t=1512529856; bh=QwDw0FxLIQd89FV2XCFFUDRCWhdml94ysalCceMsgsU=; h=From:To:Subject:Date:Message-Id; b=Zovs5tu8/iImQSb/hrRMHRl8lWjzYrcQZYVEhn3HD80N2piw/Dy3CUGOZeLcrgG+Q V1KmKJ+UrcHTAGtSqSk4ngpwjLU/mXfb/6lhCJkP6ksU0Opw03eMVbLIkGgmenu3dk z012QFa5AGtEFmXSJWIfHZYUnY2flajuKWfhYD/c= X-Virus-Scanned: amavisd-new at dx-it-mx02.dx.sankuai.com Received: from mx02.meituan.com ([127.0.0.1]) by localhost (dx-it-mx02.dx.sankuai.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ykCRiwi60xeQ; Wed, 6 Dec 2017 11:10:52 +0800 (CST) Received: from localhost.localdomain.info (unknown [103.37.140.16]) by dx-it-mx02.dx.sankuai.com (Postfix) with ESMTPA id 45138297D55B; Wed, 6 Dec 2017 11:10:42 +0800 (CST) From: Wang Long To: axboe@kernel.dk, axboe@fb.com, tj@kernel.org, viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, w@laoqinren.net Subject: [PATCH] writeback: update comment in inode_io_list_move_locked Date: Tue, 5 Dec 2017 07:23:19 -0500 Message-Id: <1512476599-6205-1-git-send-email-wanglong19@meituan.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The @head can be wb->b_dirty_time, so update the comment. Signed-off-by: Wang Long Acked-by: Tejun Heo --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 8d477cf..7cb1dd1 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -126,7 +126,7 @@ static void wb_io_lists_depopulated(struct bdi_writeback *wb) * inode_io_list_move_locked - move an inode onto a bdi_writeback IO list * @inode: inode to be moved * @wb: target bdi_writeback - * @head: one of @wb->b_{dirty|io|more_io} + * @head: one of @wb->b_{dirty|io|more_io|dirty_time} * * Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io. * Returns %true if @inode is the first occupant of the !dirty_time IO