[PATCH] fs: eventfd: fix obsolete comment

From: linmiaohe
Date: Sat Dec 07 2019 - 02:45:59 EST


From: Miaohe Lin <linmiaohe@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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