All of lore.kernel.org
 help / color / mirror / Atom feed
From: lijian_8010a29@163.com
To: viro@zeniv.linux.org.uk
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	lijian <lijian@yulong.com>
Subject: [PATCH] fs: file_table: Fix a typo
Date: Mon,  7 Jun 2021 11:30:39 +0800	[thread overview]
Message-ID: <20210607033039.112297-1-lijian_8010a29@163.com> (raw)

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(-)

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
-- 
2.25.1


             reply	other threads:[~2021-06-07  3:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  3:30 lijian_8010a29 [this message]
2021-06-07  3:41 ` [PATCH] fs: file_table: Fix a typo Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210607033039.112297-1-lijian_8010a29@163.com \
    --to=lijian_8010a29@163.com \
    --cc=lijian@yulong.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.