Home
last modified time | relevance | path

Searched hist:"6 fb968cd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/
H A Dnamei.c6fb968cd Sun Jan 26 08:53:19 CST 2020 Al Viro <viro@zeniv.linux.org.uk> atomic_open(): return the right dentry in FMODE_OPENED case

->atomic_open() might have used a different alias than the one we'd
passed to it; in "not opened" case we take care of that, in "opened"
one we don't. Currently we don't care downstream of "opened" case
which alias to return; however, that will change shortly when we
get to unifying may_open() calls.

It's not hard to get right in all cases, anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
6fb968cd Sun Jan 26 08:53:19 CST 2020 Al Viro <viro@zeniv.linux.org.uk> atomic_open(): return the right dentry in FMODE_OPENED case

->atomic_open() might have used a different alias than the one we'd
passed to it; in "not opened" case we take care of that, in "opened"
one we don't. Currently we don't care downstream of "opened" case
which alias to return; however, that will change shortly when we
get to unifying may_open() calls.

It's not hard to get right in all cases, anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>