2009-10-31 21:27:09

by Alberto Bertogli

[permalink] [raw]
Subject: [PATCH] Fix fs/debugfs/inode.c typos

Signed-off-by: Alberto Bertogli <[email protected]>
---
fs/debugfs/inode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index d22438e..0d23b52 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -184,7 +184,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
/**
* debugfs_create_file - create a file in the debugfs filesystem
* @name: a pointer to a string containing the name of the file to create.
- * @mode: the permission that the file should have
+ * @mode: the permission that the file should have.
* @parent: a pointer to the parent dentry for this file. This should be a
* directory dentry if set. If this paramater is NULL, then the
* file will be created in the root of the debugfs filesystem.
@@ -195,8 +195,8 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
* this file.
*
* This is the basic "create a file" function for debugfs. It allows for a
- * wide range of flexibility in createing a file, or a directory (if you
- * want to create a directory, the debugfs_create_dir() function is
+ * wide range of flexibility in creating a file, or a directory (if you want
+ * to create a directory, the debugfs_create_dir() function is
* recommended to be used instead.)
*
* This function will return a pointer to a dentry if it succeeds. This
--
1.6.5.2.250.g2bd30


2009-11-03 15:08:04

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] Fix fs/debugfs/inode.c typos

On Sat, 31 Oct 2009, Alberto Bertogli wrote:

> Signed-off-by: Alberto Bertogli <[email protected]>
> ---
> fs/debugfs/inode.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
[ ... ]
> @@ -195,8 +195,8 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
> * this file.
> *
> * This is the basic "create a file" function for debugfs. It allows for a
> - * wide range of flexibility in createing a file, or a directory (if you
> - * want to create a directory, the debugfs_create_dir() function is
> + * wide range of flexibility in creating a file, or a directory (if you want
> + * to create a directory, the debugfs_create_dir() function is
> * recommended to be used instead.)
> *
> * This function will return a pointer to a dentry if it succeeds. This

I haven't found this one fixed in current -next, so I have put it into
trivial queue.

Thanks,

--
Jiri Kosina
SUSE Labs, Novell Inc.