2010-12-10 03:12:21

by Namhyung Kim

[permalink] [raw]
Subject: [PATCH] anon_inodes: fix a typo in comment

Signed-off-by: Namhyung Kim <[email protected]>
---
fs/anon_inodes.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index 57ce55b2564c..73097336ea2a 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -64,9 +64,9 @@ static const struct address_space_operations anon_aops = {
};

/**
- * anon_inode_getfd - creates a new file instance by hooking it up to an
- * anonymous inode, and a dentry that describe the "class"
- * of the file
+ * anon_inode_getfile - creates a new file instance by hooking it up to an
+ * anonymous inode, and a dentry that describe the "class"
+ * of the file
*
* @name: [in] name of the "class" of the new file
* @fops: [in] file operations for the new file
--
1.7.3.3.400.g93cef


2010-12-10 15:07:12

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] anon_inodes: fix a typo in comment

On Fri, 10 Dec 2010, Namhyung Kim wrote:

> Signed-off-by: Namhyung Kim <[email protected]>
> ---
> fs/anon_inodes.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
> index 57ce55b2564c..73097336ea2a 100644
> --- a/fs/anon_inodes.c
> +++ b/fs/anon_inodes.c
> @@ -64,9 +64,9 @@ static const struct address_space_operations anon_aops = {
> };
>
> /**
> - * anon_inode_getfd - creates a new file instance by hooking it up to an
> - * anonymous inode, and a dentry that describe the "class"
> - * of the file
> + * anon_inode_getfile - creates a new file instance by hooking it up to an
> + * anonymous inode, and a dentry that describe the "class"
> + * of the file
> *
> * @name: [in] name of the "class" of the new file
> * @fops: [in] file operations for the new file

Obvious. Taking through trivial queue, thanks.

--
Jiri Kosina
SUSE Labs, Novell Inc.