Commit 4b4e5a14 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds

Fix trivial typos in anon_inodes.c comments

Trivial typo and grammar fixes.
Signed-off-by: default avatar"J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b2111217
...@@ -53,7 +53,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = { ...@@ -53,7 +53,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = {
}; };
/** /**
* anon_inode_getfd - creates a new file instance by hooking it up to and * anon_inode_getfd - creates a new file instance by hooking it up to an
* anonymous inode, and a dentry that describe the "class" * anonymous inode, and a dentry that describe the "class"
* of the file * of the file
* *
...@@ -66,7 +66,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = { ...@@ -66,7 +66,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = {
* *
* Creates a new file by hooking it on a single inode. This is useful for files * Creates a new file by hooking it on a single inode. This is useful for files
* that do not need to have a full-fledged inode in order to operate correctly. * that do not need to have a full-fledged inode in order to operate correctly.
* All the files created with anon_inode_getfd() will share a single inode, by * All the files created with anon_inode_getfd() will share a single inode,
* hence saving memory and avoiding code duplication for the file/inode/dentry * hence saving memory and avoiding code duplication for the file/inode/dentry
* setup. * setup.
*/ */
...@@ -141,9 +141,9 @@ err_put_filp: ...@@ -141,9 +141,9 @@ err_put_filp:
} }
/* /*
* A single inode exist for all anon_inode files. Contrary to pipes, * A single inode exists for all anon_inode files. Contrary to pipes,
* anon_inode inodes has no per-instance data associated, so we can avoid * anon_inode inodes have no associated per-instance data, so we need
* the allocation of multiple of them. * only allocate one of them.
*/ */
static struct inode *anon_inode_mkinode(void) static struct inode *anon_inode_mkinode(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment