Skip to contentSkip to conversation

Fix fs/debugfs/inode.c typos

PATCH In review Alberto Bertogli 2 participants 2 messages Oct 31, 2009 – Nov 3, 2009 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix fs/debugfs/inode.c typos

---
 fs/debugfs/inode.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
fs/debugfs/inode.c +3 -3
index d22438e..0d23b52 100644
@@ -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
Signature · 1 line
1.6.5.2.250.g2bd30
#1 lore raw
Quoted 4 lines · Alberto Bertogli
---
 fs/debugfs/inode.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

[ ... ]

fs/debugfs/inode.c static int debugfs_create_by_name(const char *name, mode_t mode, · line 202

Quoted 11 lines
fs/debugfs/inode.c +2 -2
@@ -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,

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.