io_uring: allow AT_FDCWD for non-file openat/openat2/statx

Don't just check for dirfd == -1, we should allow AT_FDCWD as well for
relative lookups.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe 2020-02-06 21:42:51 -07:00
commit 0b5faf6ba7