diff options
Diffstat (limited to 'fs/debugfs')
| -rw-r--r-- | fs/debugfs/inode.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index c7c83ff0f75..8c41b52da35 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c @@ -218,6 +218,7 @@ static int debugfs_remount(struct super_block *sb, int *flags, char *data)  	int err;  	struct debugfs_fs_info *fsi = sb->s_fs_info; +	sync_filesystem(sb);  	err = debugfs_parse_options(data, &fsi->mount_opts);  	if (err)  		goto fail; @@ -358,7 +359,7 @@ exit:   * @name: a pointer to a string containing the name of the file to create.   * @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 + *          directory dentry if set.  If this parameter is NULL, then the   *          file will be created in the root of the debugfs filesystem.   * @data: a pointer to something that the caller will want to get to later   *        on.  The inode.i_private pointer will point to this value on @@ -400,7 +401,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_file);   * @name: a pointer to a string containing the name of the directory to   *        create.   * @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 + *          directory dentry if set.  If this parameter is NULL, then the   *          directory will be created in the root of the debugfs filesystem.   *   * This function creates a directory in debugfs with the given name. @@ -425,7 +426,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_dir);   * @name: a pointer to a string containing the name of the symbolic link to   *        create.   * @parent: a pointer to the parent dentry for this symbolic link.  This - *          should be a directory dentry if set.  If this paramater is NULL, + *          should be a directory dentry if set.  If this parameter is NULL,   *          then the symbolic link will be created in the root of the debugfs   *          filesystem.   * @target: a pointer to a string containing the path to the target of the @@ -566,8 +567,7 @@ void debugfs_remove_recursive(struct dentry *dentry)  	mutex_lock(&parent->d_inode->i_mutex);  	if (child != dentry) { -		next = list_entry(child->d_u.d_child.next, struct dentry, -					d_u.d_child); +		next = list_next_entry(child, d_u.d_child);  		goto up;  	}  | 
