diff mbox series

fs: file_table: Fix a typo

Message ID 20210607033039.112297-1-lijian_8010a29@163.com (mailing list archive)
State New, archived
Headers show
Series fs: file_table: Fix a typo | expand

Commit Message

lijian_8010a29@163.com June 7, 2021, 3:30 a.m. UTC
From: lijian <lijian@yulong.com>

Change 'happend' to 'happen'.

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

Comments

Joe Perches June 7, 2021, 3:41 a.m. UTC | #1
On Mon, 2021-06-07 at 11:30 +0800, lijian_8010a29@163.com wrote:
> From: lijian <lijian@yulong.com>
> 
> Change 'happend' to 'happen'.
[]
> diff --git 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 happend e.g. we over file
> + * Returns an error pointer if some error happen e.g. we over file

happened
diff mbox series

Patch

diff --git a/fs/file_table.c b/fs/file_table.c
index 45437f8e1003..4891f267b69a 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 happend e.g. we over file
+ * Returns an error pointer if some error happen 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