io_uring: rename ->resize_lock
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 29 Nov 2024 13:34:22 +0000 (13:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 13:58:13 +0000 (06:58 -0700)
commitbc4062d81c3ab06c7087b80b45a35fce6829f794
tree8919d0b7ce8386d4f62e1604528e618601bc075c
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
io_uring: rename ->resize_lock

->resize_lock is used for resizing rings, but it's a good idea to reuse
it in other cases as well. Rename it into mmap_lock as it's protects
from races with mmap.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/68f705306f3ac4d2fb999eb80ea1615015ce9f7f.1732886067.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/memmap.c
io_uring/register.c