Re: [PATCH -next] drbd: use DEFINE_SPINLOCK() for spinlock
From
Jens Axboe <>
Date
Tue, 6 Apr 2021 09:31:50 -0600
On 4/6/21 6:09 AM, Huang Guobin wrote: > From: Guobin Huang <huangguobin4@huawei.com> > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init().