Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5249e411 authored by Al Viro's avatar Al Viro
Browse files

atomic_open(): don't bother with EEXIST check - it's done in do_last()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent df889b36
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;
	}