projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vfs: pass right create mode to may_o_create()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index
5bac1bb
..
26c28ec
100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2452,7
+2452,7
@@
static int atomic_open(struct nameidata *nd, struct dentry *dentry,
}
if (open_flag & O_CREAT) {
}
if (open_flag & O_CREAT) {
- error = may_o_create(&nd->path, dentry,
op->
mode);
+ error = may_o_create(&nd->path, dentry, mode);
if (error) {
create_error = error;
if (open_flag & O_EXCL)
if (error) {
create_error = error;
if (open_flag & O_EXCL)