Skip to content
Commit f8310c59 authored by Al Viro's avatar Al Viro
Browse files

fix O_EXCL handling for devices



O_EXCL without O_CREAT has different semantics; it's "fail if already opened",
not "fail if already exists".  commit 71574865 broke that...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bf884891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment