diff options
-rw-r--r-- | fs/namei.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/namei.c b/fs/namei.c index 85d19e6cc8c0..eec7c0aa446d 100644 --- 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; } |