mirror of https://gitee.com/openkylin/linux.git
fs/debugfs/inode.c: fix comment typos
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
96c085db0a
commit
be030e653f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue