Re: [PATCH] io-wq: use put instead of revert creds

From: Jens Axboe
Date: Wed Jan 29 2020 - 08:39:22 EST


On 1/29/20 3:10 AM, Pavel Begunkov wrote:
> There is no need to publish creds twice in io_wq_switch_creds() (in
> revert_creds() and override_creds()). Just do override_creds() and
> put_creds() if needed.

Thanks, looks good. Applied.

--
Jens Axboe