lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] fs: file_table: Fix a typo
Date
From: lijian <lijian@yulong.com>

Change 'happend' to 'happen'.

Signed-off-by: lijian <lijian@yulong.com>
---
v2: change 'happend' to 'happened'.
fs/file_table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/file_table.c b/fs/file_table.c
index 4891f267b69a..f40df305dd3b 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -121,7 +121,7 @@ static struct file *__alloc_file(int flags, const struct cred *cred)
}

/* Find an unused file structure and return a pointer to it.
- * Returns an error pointer if some error happen e.g. we over file
+ * Returns an error pointer if some error happened e.g. we over file
* structures limit, run out of memory or operation is not permitted.
*
* Be very careful using this. You are responsible for
--
2.25.1
\
 
 \ /
  Last update: 2021-06-07 12:32    [W:0.030 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site