Re: [PATCH -next] drbd: use DEFINE_SPINLOCK() for spinlock
From: Jens Axboe
Date: Tue Apr 06 2021 - 11:32:12 EST
On 4/6/21 6:09 AM, Huang Guobin wrote:
> From: Guobin Huang <huangguobin4@xxxxxxxxxx>
>
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().
Applied, thanks.
--
Jens Axboe