diff --git a/fs/io_uring.c b/fs/io_uring.c index a2a7c65a77aa92d09ec4dfd9d1b65535dfaf2b04..908817cea4f54a7bde52b483f4c18c5c728ddc10 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1284,7 +1284,7 @@ static bool io_identity_cow(struct io_kiocb *req) */ io_init_identity(id); if (creds) - req->work.identity->creds = creds; + id->creds = creds; /* add one for this request */ refcount_inc(&id->count);