]> git.ipfire.org Git - people/ms/linux.git/commit - fs/namei.c
switch atomic_open() and lookup_open() to returning 0 in all success cases
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Jul 2018 23:30:20 +0000 (19:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jul 2018 14:04:22 +0000 (10:04 -0400)
commit00a07c1591a3fb3d71f7083361eab4a2444938a3
tree99f9abb610dd1c621952eb9c3f00c60b11c6f0e4
parent6c9b1de172bdd0450d56e2cb3b2da5fc1833619e
switch atomic_open() and lookup_open() to returning 0 in all success cases

caller can tell "opened" from "open it yourself" by looking at ->f_mode.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c