diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-07-16 02:41:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:52 -0400 |
commit | 4b4e5a1411c8b970983fb6022db1da31c4f5c301 (patch) | |
tree | 8e4bf79b812f8e881ab52b503e15b53242cc9429 /fs/anon_inodes.c | |
parent | b2111217df52827916141789c87d614ae45236db (diff) |
Fix trivial typos in anon_inodes.c comments
Trivial typo and grammar fixes.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/anon_inodes.c')
-rw-r--r-- | fs/anon_inodes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 40fe3a3222e4..a260198306c2 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c | |||
@@ -53,7 +53,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = { | |||
53 | }; | 53 | }; |
54 | 54 | ||
55 | /** | 55 | /** |
56 | * anon_inode_getfd - creates a new file instance by hooking it up to and | 56 | * anon_inode_getfd - creates a new file instance by hooking it up to an |
57 | * anonymous inode, and a dentry that describe the "class" | 57 | * anonymous inode, and a dentry that describe the "class" |
58 | * of the file | 58 | * of the file |
59 | * | 59 | * |
@@ -66,7 +66,7 @@ static struct dentry_operations anon_inodefs_dentry_operations = { | |||
66 | * | 66 | * |
67 | * Creates a new file by hooking it on a single inode. This is useful for files | 67 | * Creates a new file by hooking it on a single inode. This is useful for files |
68 | * that do not need to have a full-fledged inode in order to operate correctly. | 68 | * that do not need to have a full-fledged inode in order to operate correctly. |
69 | * All the files created with anon_inode_getfd() will share a single inode, by | 69 | * All the files created with anon_inode_getfd() will share a single inode, |
70 | * hence saving memory and avoiding code duplication for the file/inode/dentry | 70 | * hence saving memory and avoiding code duplication for the file/inode/dentry |
71 | * setup. | 71 | * setup. |
72 | */ | 72 | */ |
@@ -141,9 +141,9 @@ err_put_filp: | |||
141 | } | 141 | } |
142 | 142 | ||
143 | /* | 143 | /* |
144 | * A single inode exist for all anon_inode files. Contrary to pipes, | 144 | * A single inode exists for all anon_inode files. Contrary to pipes, |
145 | * anon_inode inodes has no per-instance data associated, so we can avoid | 145 | * anon_inode inodes have no associated per-instance data, so we need |
146 | * the allocation of multiple of them. | 146 | * only allocate one of them. |
147 | */ | 147 | */ |
148 | static struct inode *anon_inode_mkinode(void) | 148 | static struct inode *anon_inode_mkinode(void) |
149 | { | 149 | { |