]> www.infradead.org Git - users/willy/xarray.git/commit
io_uring: avoid pointless cred reference count bump
authorChristian Brauner <brauner@kernel.org>
Mon, 25 Nov 2024 14:10:18 +0000 (15:10 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 2 Dec 2024 10:25:13 +0000 (11:25 +0100)
commitb690668b65e504d3e9344aa038bdaa7b2354304f
treeca4d87a643a7d4b4bc856bcbf6d151e33ffd38c2
parent62e5396c50ae3942ff94c0a8cec6f476c1c3da2f
io_uring: avoid pointless cred reference count bump

req->creds and ctx->sq_creds already hold reference counts that are
stable during the operations.

Link: https://lore.kernel.org/r/20241125-work-cred-v2-22-68b9d38bb5b2@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
io_uring/io_uring.c
io_uring/sqpoll.c