[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1575704733-11573-1-git-send-email-linmiaohe@huawei.com>
Date: Sat, 7 Dec 2019 15:45:33 +0800
From: linmiaohe <linmiaohe@...wei.com>
To: <viro@...iv.linux.org.uk>
CC: <linmiaohe@...wei.com>, <linux-fsdevel@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] fs: eventfd: fix obsolete comment
From: Miaohe Lin <linmiaohe@...wei.com>
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 <linmiaohe@...wei.com>
---
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
Powered by blists - more mailing lists