[Drbd-dev] [PATCH -next] drbd: use DEFINE_SPINLOCK() for spinlock

Jens Axboe axboe at kernel.dk
Tue Apr 6 17:31:50 CEST 2021


On 4/6/21 6:09 AM, Huang Guobin wrote:
> From: Guobin Huang <huangguobin4 at huawei.com>
> 
> spinlock can be initialized automatically with DEFINE_SPINLOCK()
> rather than explicitly calling spin_lock_init().

Applied, thanks.

-- 
Jens Axboe



More information about the drbd-dev mailing list