]> 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)
commit8db9b7312f597b78f16896850532c1a4188459cd
treed0fc59857057a21bc5289eef781c0e765b752dfb
parent0d09f5982e7d9ac34ad08b6fe9d1ea25edfa29ea
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