Merge pull request #57 from fennecJ/patch

Fix typo
This commit is contained in:
Jim Huang 2021-08-13 00:53:24 +08:00 committed by GitHub
commit 4c137c305c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -841,7 +841,8 @@ Be aware that a file is a kernel level structure and never appears in a user spa
It is not the same thing as a \cpp|FILE|, which is defined by glibc and would never appear in a kernel space function.
Also, its name is a bit misleading; it represents an abstract open `file', not a file on a disk, which is represented by a structure named inode.
An instance of struct file is commonly named filp. You'll also see it refered to as struct file file.
An instance of struct file is commonly named \cpp|filp|.
You'll also see it referred to as a struct file object.
Resist the temptation.
Go ahead and look at the definition of file.