X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fmisc%2Ftizen-inform-reboot.c;h=861554a2b5639c78875a6c2f054e88ff732d22f1;hb=05b8700aefd95fd8dbdca41d09991d4b01e15dbe;hp=9a9ed927064a8deb84c2a0106bc6100c1c4a4349;hpb=bae18000a0f25f5752ab009abe3f258d9c596493;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/drivers/misc/tizen-inform-reboot.c b/drivers/misc/tizen-inform-reboot.c index 9a9ed92..861554a 100644 --- a/drivers/misc/tizen-inform-reboot.c +++ b/drivers/misc/tizen-inform-reboot.c @@ -24,7 +24,6 @@ static int inform_reboot_notifier(struct notifier_block *nb, 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)) { @@ -54,8 +53,6 @@ static int inform_reboot_notifier(struct notifier_block *nb, "Inform file path should be described correctly in config.\n"); } - force_uaccess_end(old_fs); - return NOTIFY_DONE; }