char *filename = CONFIG_TIZEN_INFORM_PATH;
struct file *file;
loff_t pos = 0;
char *filename = CONFIG_TIZEN_INFORM_PATH;
struct file *file;
loff_t pos = 0;
- mm_segment_t old_fs = force_uaccess_begin();
file = filp_open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0644);
if (!IS_ERR(file)) {
file = filp_open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0644);
if (!IS_ERR(file)) {
"Inform file path should be described correctly in config.\n");
}
"Inform file path should be described correctly in config.\n");
}
- force_uaccess_end(old_fs);
-