diff options
| -rw-r--r-- | fs/debugfs/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 2e86d66f7850..9c1c9a01b7e5 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c | |||
| @@ -992,7 +992,8 @@ struct dentry *debugfs_create_u32_array(const char *name, umode_t mode, | |||
| 992 | data->array = array; | 992 | data->array = array; |
| 993 | data->elements = elements; | 993 | data->elements = elements; |
| 994 | 994 | ||
| 995 | return debugfs_create_file(name, mode, parent, data, &u32_array_fops); | 995 | return debugfs_create_file_unsafe(name, mode, parent, data, |
| 996 | &u32_array_fops); | ||
| 996 | } | 997 | } |
| 997 | EXPORT_SYMBOL_GPL(debugfs_create_u32_array); | 998 | EXPORT_SYMBOL_GPL(debugfs_create_u32_array); |
| 998 | 999 | ||
