]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: statx/openat/openat2 don't support fixed files
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Feb 2020 04:31:40 +0000 (21:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Feb 2020 20:06:33 +0000 (13:06 -0700)
commitfadf4dffd9d9355d227bf265187b983af6442c9c
treed0fc59857057a21bc5289eef781c0e765b752dfb
parente4d7d121e92b905ff7c4eee91fd0f10bf2f789f4
io_uring: statx/openat/openat2 don't support fixed files

All of these opcodes take a directory file descriptor. We can't easily
support fixed files for these operations, and the use case for that
probably isn't all that clear (or sensible) anyway.

Disable IOSQE_FIXED_FILE for these operations.

Reported-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c