commit | 239eb983383b1b140e588fe8f1c7d1ce953285f6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Jan 09 14:12:40 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Feb 27 14:43:56 2020 -0500 |
tree | d29fd0ea84a07e0264c5f63a2c445a0a48612873 | |
parent | bd7c4b508344680c843e2d2436d56b9fc8aedc9d [diff] |
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>