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

atomic_open(): saner calling conventions (return dentry on success)



Currently it either returns -E... or puts (nd->path.mnt,dentry)
into *path and returns 0.  Make it return ERR_PTR(-E...) or
dentry; adjust the caller.  Fewer arguments and it's easier
to keep track of *path contents that way.

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