From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0144DC43603 for ; Sat, 7 Dec 2019 07:45:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBA9424670 for ; Sat, 7 Dec 2019 07:45:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726599AbfLGHpu (ORCPT ); Sat, 7 Dec 2019 02:45:50 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7648 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725935AbfLGHpu (ORCPT ); Sat, 7 Dec 2019 02:45:50 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 6C4C66C66C80F74A0E71; Sat, 7 Dec 2019 15:45:47 +0800 (CST) Received: from huawei.com (10.175.105.18) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Sat, 7 Dec 2019 15:45:40 +0800 From: linmiaohe To: CC: , , Subject: [PATCH] fs: eventfd: fix obsolete comment Date: Sat, 7 Dec 2019 15:45:33 +0800 Message-ID: <1575704733-11573-1-git-send-email-linmiaohe@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.105.18] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Miaohe Lin since commit 36a7411724b1 ("eventfd_ctx_fdget(): use fdget() instead of fget()"), this comment become outdated and looks confusing. Fix it with the correct function name. Signed-off-by: Miaohe Lin --- fs/eventfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 8aa0ea8c55e8..0b8466b12932 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -352,7 +352,7 @@ EXPORT_SYMBOL_GPL(eventfd_fget); * Returns a pointer to the internal eventfd context, otherwise the error * pointers returned by the following functions: * - * eventfd_fget + * fdget */ struct eventfd_ctx *eventfd_ctx_fdget(int fd) { -- 2.19.1