fs: fix spelling mistakes in comment
PATCH v2 1/1 fs: fix spelling mistakes in comment
From: Qingshuang Fu <[email protected]>
Fix three spelling errors in the comment for an internal file structure allocation function:
- happend → happened - over → exceed (grammatical fix) - int → in
Changes since v1:
- Fix comma after e.g.
- Fix incorrect use of "imbalance"
--- fs/file_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/file_table.c +2 -2
@@ -231,13 +231,13 @@ static int init_file(struct file *f, 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 happened, e.g., we exceed the file * structures limit, run out of memory or operation is not permitted. * * Be very careful using this. You are responsible for * getting write access to any mount that you might assign * to this filp, if it is opened for write. If this is not -* done, you will imbalance int the mount's writer count +* done, the mount's writer count will be wrong * and a warning at __fput() time. */ struct file *alloc_empty_file (int flags,const struct cred *cred)
base-commit: eb3f4b7426cfd2b79d65b7d37155480b32259a11
Signature · 1 line
2.25.1
Quoted 11 lines · On Wed, 27 May 2026 18:00:24 +0800, [email protected] wrote:
Fix three spelling errors in the comment for an internal file structure allocation function:
- happend → happened - over → exceed (grammatical fix) - int → inChanges since v1:
- Fix comma after e.g.
- Fix incorrect use of "imbalance"[...]
Applied to the vfs-7.2.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.2.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs-7.2.misc
[1/1] fs: fix spelling mistakes in comment
https://git.kernel.org/vfs/vfs/c/5afe734e7621