VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Dominik Brodowski <linux@dominikbrodowski.net> 2018-03-11 11:34:56 +0100 committer: Dominik Brodowski <linux@dominikbrodowski.net> 2018-04-02 20:16:01 +0200 commit: bae217ea8c7e123ed3fb1064909a262924771bbb parent: 2ca2a09d6215fd9621aa3e2db7cc9428a61f2911
Commit Summary:
fs: add ksys_open() wrapper; remove in-kernel calls to sys_open()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/open.c b/fs/open.c
index 710102fc262b..8a42a2961130 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -1151,7 +1151,7 @@ COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, fla
  */
 SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode)
 {
-	return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
+	return ksys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
 }
 
 #endif