diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/open.c b/fs/open.c index 328dc6ef1883..954d8fcbb635 100644 --- a/fs/open.c +++ b/fs/open.c @@ -1089,8 +1089,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); @@ -1129,7 +1127,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; |