commit | 6fb968cdf9d0bd66742ac73f3db268dcb0278ada | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 26 09:53:19 2020 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 13 21:09:12 2020 -0400 |
tree | ce3843adae7ad1ad5993e5715a7126f6705f6afc | |
parent | 9deed3ebca244663530782631834e706a86a8c8f [diff] |
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>