diff options
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r-- | fs/debugfs/inode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 9c0444cccbe1..8c41b52da358 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) | |||
218 | int err; | 218 | int err; |
219 | struct debugfs_fs_info *fsi = sb->s_fs_info; | 219 | struct debugfs_fs_info *fsi = sb->s_fs_info; |
220 | 220 | ||
221 | sync_filesystem(sb); | ||
221 | err = debugfs_parse_options(data, &fsi->mount_opts); | 222 | err = debugfs_parse_options(data, &fsi->mount_opts); |
222 | if (err) | 223 | if (err) |
223 | goto fail; | 224 | goto fail; |
@@ -358,7 +359,7 @@ exit: | |||
358 | * @name: a pointer to a string containing the name of the file to create. | 359 | * @name: a pointer to a string containing the name of the file to create. |
359 | * @mode: the permission that the file should have. | 360 | * @mode: the permission that the file should have. |
360 | * @parent: a pointer to the parent dentry for this file. This should be a | 361 | * @parent: a pointer to the parent dentry for this file. This should be a |
361 | * directory dentry if set. If this paramater is NULL, then the | 362 | * directory dentry if set. If this parameter is NULL, then the |
362 | * file will be created in the root of the debugfs filesystem. | 363 | * file will be created in the root of the debugfs filesystem. |
363 | * @data: a pointer to something that the caller will want to get to later | 364 | * @data: a pointer to something that the caller will want to get to later |
364 | * on. The inode.i_private pointer will point to this value on | 365 | * on. The inode.i_private pointer will point to this value on |
@@ -400,7 +401,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_file); | |||
400 | * @name: a pointer to a string containing the name of the directory to | 401 | * @name: a pointer to a string containing the name of the directory to |
401 | * create. | 402 | * create. |
402 | * @parent: a pointer to the parent dentry for this file. This should be a | 403 | * @parent: a pointer to the parent dentry for this file. This should be a |
403 | * directory dentry if set. If this paramater is NULL, then the | 404 | * directory dentry if set. If this parameter is NULL, then the |
404 | * directory will be created in the root of the debugfs filesystem. | 405 | * directory will be created in the root of the debugfs filesystem. |
405 | * | 406 | * |
406 | * This function creates a directory in debugfs with the given name. | 407 | * This function creates a directory in debugfs with the given name. |
@@ -425,7 +426,7 @@ EXPORT_SYMBOL_GPL(debugfs_create_dir); | |||
425 | * @name: a pointer to a string containing the name of the symbolic link to | 426 | * @name: a pointer to a string containing the name of the symbolic link to |
426 | * create. | 427 | * create. |
427 | * @parent: a pointer to the parent dentry for this symbolic link. This | 428 | * @parent: a pointer to the parent dentry for this symbolic link. This |
428 | * should be a directory dentry if set. If this paramater is NULL, | 429 | * should be a directory dentry if set. If this parameter is NULL, |
429 | * then the symbolic link will be created in the root of the debugfs | 430 | * then the symbolic link will be created in the root of the debugfs |
430 | * filesystem. | 431 | * filesystem. |
431 | * @target: a pointer to a string containing the path to the target of the | 432 | * @target: a pointer to a string containing the path to the target of the |