提交 5249e411 编写于 作者: A Al Viro

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

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 df889b36
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册