projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISCV: configs: tizen_visionfive2: drop TIZEN_INFORM_REBOOT
[platform/kernel/linux-starfive.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index
98f6601
..
54723fc
100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-1069,8
+1069,6
@@
struct file *dentry_open(const struct path *path, int flags,
int error;
struct file *f;
- validate_creds(cred);
-
/* We must always pass in a valid mount pointer. */
BUG_ON(!path->mnt);
@@
-1109,7
+1107,6
@@
struct file *dentry_create(const struct path *path, int flags, umode_t mode,
struct file *f;
int error;
- validate_creds(cred);
f = alloc_empty_file(flags, cred);
if (IS_ERR(f))
return f;