Searched hist:"239 eb983" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | namei.c | 239eb983 Thu Jan 09 13:12:40 CST 2020 Al Viro <viro@zeniv.linux.org.uk> 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: Al Viro <viro@zeniv.linux.org.uk> 239eb983 Thu Jan 09 13:12:40 CST 2020 Al Viro <viro@zeniv.linux.org.uk> 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: Al Viro <viro@zeniv.linux.org.uk>
|