projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df889b3
)
atomic_open(): don't bother with EEXIST check - it's done in do_last()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 27 Apr 2016 17:25:33 +0000
(13:25 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:51:11 +0000
(19:51 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index 85d19e6cc8c04a1b7c4f6df32fe296658e289be3..eec7c0aa446d5136539b0981db3c5a0e4160ca2e 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2914,11
+2914,6
@@
static int atomic_open(struct nameidata *nd, struct dentry *dentry,
error = create_error;
goto out;
}
- } else {
- if (excl && !(*opened & FILE_CREATED)) {
- error = -EEXIST;
- goto out;
- }
}
goto looked_up;
}