From patchwork Fri Feb 28 07:27:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ZhangZhen X-Patchwork-Id: 325053 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 297742C008F for ; Fri, 28 Feb 2014 18:28:26 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751650AbaB1H2Z (ORCPT ); Fri, 28 Feb 2014 02:28:25 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:25356 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbaB1H2Y (ORCPT ); Fri, 28 Feb 2014 02:28:24 -0500 Received: from 172.24.2.119 (EHLO szxeml212-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BSA17450; Fri, 28 Feb 2014 15:28:22 +0800 (CST) Received: from SZXEML402-HUB.china.huawei.com (10.82.67.32) by szxeml212-edg.china.huawei.com (172.24.2.181) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 28 Feb 2014 15:28:01 +0800 Received: from [127.0.0.1] (10.111.69.77) by szxeml402-hub.china.huawei.com (10.82.67.32) with Microsoft SMTP Server id 14.3.158.1; Fri, 28 Feb 2014 15:27:53 +0800 Message-ID: <53103A78.3050402@huawei.com> Date: Fri, 28 Feb 2014 15:27:52 +0800 From: ZhangZhen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: CC: Subject: [PATCH] ext4: fix some wrong comments References: <5310053D.6080808@huawei.com> In-Reply-To: <5310053D.6080808@huawei.com> X-Forwarded-Message-Id: <5310053D.6080808@huawei.com> X-Originating-IP: [10.111.69.77] X-CFilter-Loop: Reflected Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The comments in the code are wrong, because every generic_file_write() is replaced by generic_file_aio_write(). Signed-off-by: Zhang Zhen --- fs/ext4/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 6e39895..c218294 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -4399,7 +4399,7 @@ out_brelse: * * We are called from a few places: * - * - Within generic_file_write() for O_SYNC files. + * - Within generic_file_aio_write() for O_SYNC files. * Here, there will be no transaction running. We wait for any running * transaction to commit. *