Konstantin Belousov 4ea4966009 Do not allow to use O_BENEATH as an oracle.
Specifically, if lookup() returned any error and the topping directory
was not latched, which means that (non-existent) path did not returned
to the topping location, give ENOTCAPABLE a priority over the lookup()
error.

PR:	249960
Reviewed by:	emaste, ngie
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26695
2020-10-08 22:31:11 +00:00
..
2020-10-08 18:02:05 +00:00
2020-10-08 18:02:05 +00:00
2020-10-08 18:02:05 +00:00
2020-04-24 01:27:25 +00:00
2020-10-08 20:56:06 +00:00
2020-10-04 19:37:15 +00:00
2020-10-08 20:56:06 +00:00
2020-06-04 17:20:58 +00:00
2020-10-06 21:31:04 +00:00
2020-09-17 22:29:38 +00:00
2020-10-08 20:56:00 +00:00
2020-10-07 10:58:56 +00:00
2020-10-07 22:52:24 +00:00
2020-10-07 15:22:48 +00:00
2020-08-31 16:17:28 +00:00
2020-10-08 18:02:05 +00:00
2020-10-08 18:02:05 +00:00